lemmy/migrations
Dessalines a9d6d4e6e0
Add user setting to auto-mark fetched posts as read. (#5160)
* Add user setting to auto-mark fetched posts as read.

- Rather than apps collecting up viewed posts ids, and sending many
  mark as read requests, users can now turn this setting on, and any
  results from /post/list will be auto-marked as read.
- Fixes #5144

* Adding list_post request option to auto-mark as read.

* Moving db_perf to before federation tests.

* Fixing lemmyerrortype import.

* Fixing ts_option.

* Fix clippy.

* Fix override logic.

* Revert "Fix override logic."

This reverts commit 923d7f0eca.

* Changing name to mark_as_read
2024-11-13 10:05:16 -05:00
..
00000000000000_diesel_initial_setup
2019-02-26-002946_create_user
2019-02-27-170003_create_community
2019-03-03-163336_create_post
2019-03-05-233828_create_comment
2019-03-30-212058_create_post_view
2019-04-03-155205_create_community_view
2019-04-03-155309_create_comment_view
2019-04-07-003142_create_moderation_logs
2019-04-08-015947_create_user_view
2019-04-11-144915_create_mod_views
2019-04-29-175834_add_delete_columns
2019-05-02-051656_community_view_hot_rank
2019-06-01-222649_remove_admin
2019-08-11-000918_add_nsfw_columns
2019-08-29-040006_add_community_count
2019-09-05-230317_add_mod_ban_views
2019-09-09-042010_add_stickied_posts
2019-10-15-181630_add_themes
2019-10-19-052737_create_user_mention
2019-10-21-011237_add_default_sorts
2019-10-24-002614_create_password_reset_request
2019-12-09-060754_add_lang
2019-12-11-181820_add_site_fields
2019-12-29-164820_add_avatar
2020-01-01-200418_add_email_to_user_view
2020-01-02-172755_add_show_avatar_and_email_notifications_to_user
2020-01-11-012452_add_indexes
2020-01-13-025151_create_materialized_views
2020-01-21-001001_create_private_message
2020-01-29-011901_create_reply_materialized_view
2020-01-29-030825_create_user_mention_materialized_view
2020-02-02-004806_add_case_insensitive_usernames
2020-02-06-165953_change_post_title_length
2020-02-07-210055_add_comment_subscribed
2020-02-08-145624_add_post_newest_activity_time
2020-03-06-202329_add_post_iframely_data
2020-03-26-192410_add_activitypub_tables
2020-04-03-194936_add_activitypub_for_posts_and_comments
2020-04-07-135912_add_user_community_apub_constraints
2020-04-14-163701_update_views_for_activitypub
2020-04-21-123957_remove_unique_user_constraints
2020-05-05-210233_add_activitypub_for_private_messages
2020-06-30-135809_remove_mat_views
2020-07-08-202609_add_creator_published
2020-07-12-100442_add_post_title_to_comments_view
2020-07-18-234519_add_unique_community_user_actor_ids
2020-08-03-000110_add_preferred_usernames_banners_and_icons
2020-08-06-205355_update_community_post_count
2020-08-25-132005_add_unique_ap_ids
2020-09-07-231141_add_migration_utils
2020-10-07-234221_fix_fast_triggers
2020-10-10-035723_fix_fast_triggers_2
2020-10-13-212240_create_report_tables
2020-10-23-115011_activity_ap_id_column
2020-11-05-152724_activity_remove_user_id
2020-11-10-150835_community_follower_pending
2020-11-26-134531_delete_user
2020-12-02-152437_create_site_aggregates
2020-12-03-035643_create_user_aggregates
2020-12-04-183345_create_community_aggregates
2020-12-10-152350_create_post_aggregates
2020-12-14-020038_create_comment_aggregates
2020-12-17-030456_create_alias_views
2020-12-17-031053_remove_fast_tables_and_views
2021-01-05-200932_add_hot_rank_indexes
2021-01-26-173850_default_actor_id
2021-01-27-202728_active_users_monthly
2021-01-31-050334_add_forum_sort_index
2021-02-02-153240_apub_columns
2021-02-10-164051_add_new_comments_sort_index
2021-02-13-210612_set_correct_aggregates_time_columns
2021-02-25-112959_remove-categories
2021-02-28-162616_clean_empty_post_urls
2021-03-04-040229_clean_icon_urls
2021-03-09-171136_split_user_table_2
2021-03-19-014144_add_col_local_user_validator_time
2021-03-20-185321_move_matrix_id_to_person
2021-03-31-103917_add_show_score_setting
2021-03-31-105915_add_bot_account
2021-03-31-144349_add_site_short_description
2021-04-01-173552_rename_preferred_username_to_display_name
2021-04-01-181826_add_community_agg_active_monthly_index
2021-04-02-021422_remove_community_creator
2021-04-20-155001_limit-admins-create-community
2021-04-24-174047_add_show_read_post_setting
2021-07-19-130929_add_show_new_post_notifs_setting
2021-07-20-102033_actor_name_length
2021-08-02-002342_comment_count_fixes
2021-08-04-223559_create_user_community_block
2021-08-16-004209_fix_remove_bots_from_aggregates
2021-08-17-210508_create_mod_transfer_community
2021-09-20-112945_jwt-secret
2021-10-01-141650_create_admin_purge
2021-11-22-135324_add_activity_ap_id_index
2021-11-22-143904_add_required_public_key
2021-11-23-031528_add_report_published_index
2021-11-23-132840_email_verification
2021-11-23-153753_add_invite_only_columns
2021-12-09-225529_add_published_to_email_verification
2021-12-14-181537_add_temporary_bans
2022-01-04-034553_add_hidden_column
2022-01-20-160328_remove_site_creator
2022-01-28-104106_instance-actor
2022-02-01-154240_add_community_title_index
2022-02-18-210946_default_theme
2022-04-04-183652_update_community_aggregates_on_soft_delete
2022-04-11-210137_fix_unique_changeme
2022-04-12-114352_default_post_listing_type
2022-04-12-185205_change_default_listing_type_to_local
2022-04-19-111004_default_require_application
2022-04-26-105145_only_mod_can_post
2022-05-19-153931_legal-information
2022-05-20-135341_embed-url
2022-06-12-012121_add_site_hide_modlog_names
2022-06-13-124806_post_report_name_length
2022-06-21-123144_language-tags
2022-07-07-182650_comment_ltrees
2022-08-04-150644_add_application_email_admins
2022-08-04-214722_add_distinguished_comment
2022-08-05-203502_add_person_post_aggregates
2022-08-22-193848_comment-language-tags
2022-09-07-113813_drop_ccnew_indexes_function
2022-09-07-114618_pm-reports
2022-09-08-102358_site-and-community-languages
2022-09-24-161829_remove_table_aliases
2022-10-06-183632_move_blocklist_to_db
2022-11-13-181529_create_taglines
2022-11-20-032430_sticky_local
2022-11-21-143249_remove-federation-settings
2022-11-21-204256_user-following
2022-12-05-110642_registration_mode
2023-01-17-165819_cleanup_post_aggregates_indexes
2023-02-01-012747_fix_active_index
2023-02-05-102549_drop-site-federation-debug
2023-02-07-030958_community-collections
2023-02-11-173347_custom_emojis
2023-02-13-172528_add_report_email_admins
2023-02-13-221303_add_instance_software_and_version
2023-02-15-212546_add_post_comment_saved_indexes
2023-02-16-194139_add_totp_secret
2023-04-14-175955_add_listingtype_sorttype_enums
2023-04-23-164732_add_person_details_indexes
2023-05-10-095739_force_enable_undetermined_language
2023-06-06-104440_index_post_url
2023-06-07-105918_add_hot_rank_columns
2023-06-17-175955_add_listingtype_sorttype_hour_enums
2023-06-19-055530_add_retry_worker_setting
2023-06-19-120700_no_double_deletion
2023-06-20-191145_add_listingtype_sorttype_3_6_9_months_enums
2023-06-21-153242_add_captcha
2023-06-22-051755_fix_local_communities_marked_non_local
2023-06-22-101245_increase_user_theme_column_size
2023-06-24-072904_add_open_links_in_new_tab_setting
2023-06-24-185942_aggegates_published_indexes
2023-06-27-065106_add_ui_settings
2023-07-04-153335_add_optimized_indexes
2023-07-05-000058_person-admin
2023-07-06-151124_hot-rank-future
2023-07-08-101154_fix_soft_delete_aggregates
2023-07-10-075550_add-infinite-scroll-setting
2023-07-11-084714_receive_activity_table
2023-07-14-154840_add_optimized_indexes_published
2023-07-14-215339_aggregates_nonzero_indexes
2023-07-18-082614_post_aggregates_community_id
2023-07-19-163511_comment_sort_hot_rank_then_score
2023-07-24-232635_trigram-index
2023-07-26-000217_create_controversial_indexes
2023-07-26-222023_site-aggregates-one
2023-07-27-134652_remove-expensive-broken-trigger
2023-08-01-101826_admin_flag_local_user
2023-08-01-115243_persistent-activity-queue
2023-08-02-144930_password-reset-token
2023-08-02-174444_fix-timezones
2023-08-08-163911_add_post_listing_mode_setting
2023-08-09-101305_user_instance_block
2023-08-23-182533_scaled_rank
2023-08-29-183053_add_listing_type_moderator_view
2023-08-31-205559_add_image_upload
2023-09-01-112158_auto_resolve_report
2023-09-07-215546_post-queries-efficient
2023-09-11-110040_rework-2fa-setup
2023-09-12-194850_add_federation_worker_index
2023-09-18-141700_login-token
2023-09-20-110614_drop-show-new-post-notifs
2023-09-28-084231_import_user_settings_rate_limit
2023-10-02-145002_community_followers_count_federated
2023-10-06-133405_add_keyboard_navigation_setting
2023-10-13-175712_allow_animated_avatars
2023-10-17-181800_drop_remove_community_expires
2023-10-23-184941_hot_rank_greatest_fix
2023-10-24-030352_change_primary_keys_and_remove_some_id_columns
2023-10-24-131607_proxy_links
2023-10-24-140438_enable_private_messages Allow disabling private messages. Fixes #3640 (#4094) 2024-11-07 22:16:28 -05:00
2023-10-24-183747_autocollapse_bot_comments
2023-10-27-142514_post_url_content_type
2023-11-01-223740_federation-published
2023-11-02-120140_apub-signed-fetch
2023-11-07-135409_inbox_unique
2023-11-22-194806_low_rank_defaults
2023-12-06-180359_edit_active_users
2023-12-19-210053_tolerable-batch-insert-speed
2023-12-22-040137_make-mixed-sorting-directions-work-with-tuple-comparison
2024-01-02-094916_site-name-not-unique
2024-01-05-213000_community_aggregates_add_local_subscribers
2024-01-15-100133_local-only-community
2024-01-22-105746_lemmynsfw-changes
2024-01-25-151400_remove_auto_resolve_report_trigger
2024-02-12-211114_add_vote_display_mode_setting
2024-02-15-171358_default_instance_sort_type
2024-02-24-034523_replaceable-schema
2024-02-27-204628_add_post_alt_text
2024-02-28-144211_hide_posts
2024-03-04-143245_remove_show_scores_column
2024-03-06-104706_local_image_user_opt
2024-03-06-201637_url_blocklist
2024-04-05-153647_alter_vote_display_mode_defaults
2024-04-08-204327_custom_emoji_tagline_changes
2024-04-15-105932_community_followers_url_optional
2024-04-23-020604_add_post_id_index
2024-05-04-140749_separate_triggers
2024-05-05-162540_add_image_detail_table
2024-06-17-160323_fix_post_aggregates_featured_local
2024-06-24-000000_ap_id_triggers
2024-07-01-014711_exponential_controversy
2024-08-03-155932_increase_post_url_max_length Run analyze after changing post.url type (ref #4983) (#5148) 2024-11-04 14:16:54 +01:00
2024-09-12-130204_drop-enable-nsfw
2024-09-16-000000_default_comment_sort_type
2024-09-16-095656_schedule-post
2024-09-16-174833_create_oauth_provider Add skip_serialize_none to OAuth structs with option fields (#5046) 2024-09-26 10:24:51 +02:00
2024-09-20-134838_add_federation_vote_rejection Adding local site settings to reject federated upvotes or downvotes. (#5038) 2024-10-02 06:55:37 -04:00
2024-09-23-133038_remove_auto_expand
2024-10-16-141718_add_short_community_description Adding community description in addition to sidebar, like site. (#5120) 2024-10-28 11:54:36 -04:00
2024-10-18-074533_no-individual-inboxes Remove individual user/community inboxes (#5124) 2024-10-26 14:54:29 -04:00
2024-10-23-091053_comment-vote-remote-postid Remove comment_like.post_id column which is unnecessary (ref #5122) (#5134) 2024-10-26 14:45:12 -04:00
2024-10-29-090055_private-community Implement private communities (#5076) 2024-11-07 05:49:05 -05:00
2024-11-01-233231_add_mark_fetched_posts_as_read Add user setting to auto-mark fetched posts as read. (#5160) 2024-11-13 10:05:16 -05:00
2024-11-10-134311_smoosh-tables-together Combine action tables (#4459) 2024-11-11 11:34:10 +01:00
2024-11-12-090437_move-triggers Move aggregates to replaceable_schema, fix error (fixes #5186) (#5190) 2024-11-12 12:03:30 -05:00
.gitkeep