discourse/app/models
Alan Guo Xiang Tan 684569c30e
PERF: Avoid slow preloading in SiteSerializer (#33283)
`SiteSerializer#post_action_types` and `SiteSerializer#topic_flag_types`
both call the `Flag.used_flag_ids` method which executes queries that
becomes very slow on sites with alot of records in either the
`post_actions` or `reviewable_scores` table.

On the `post_actions` table, we execute `SELECT DISTINCT
post_action_type_id FROM post_actions`. On the `reviewable_scores`
table, we execute `SELECT DISTINCT reviewable_scope_type FROM
reviewable_scopes`. The problem with both queries is that it requires
the PG planner to scan through every single row in those tables.

For our use case, all we actually need is to check if a flag is being
referenced by a record in either the `post_actions` or
`reviewable_scores` tables. This commit updates the `Flag.used_flag_ids`
to accept a `flag_ids`
argument and use the argument to check whether the flag ids are
referenced in the `post_action_type_id` or `reviewable_scope_type`
foreign keys.
2025-06-25 15:03:34 +08:00
..
concerns FIX: ensures colors are set for tl-growth report (#33294) 2025-06-21 12:55:23 +02:00
about.rb DEV: Separate admins and moderators on about page (#31272) 2025-02-12 09:57:53 +08:00
admin_dashboard_data.rb DEV: Remove logical OR assignment of constants (#29201) 2024-10-16 10:09:07 +08:00
admin_dashboard_general_data.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
admin_dashboard_index_data.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
admin_notice.rb DEV: Database backed admin notices (#26192) 2024-05-23 09:29:08 +08:00
allowed_pm_user.rb
anonymous_user.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
api_key.rb DEV: Store selected API key scope mode in the database table (#31601) 2025-03-04 16:41:43 +08:00
api_key_scope.rb DEV: Add API scopes for post revisions (#26183) 2024-03-14 15:24:54 -06:00
application_request.rb DEV: Upgrade Rails to version 7.2 2024-11-27 10:48:47 +01:00
associated_group.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
auto_track_duration_site_setting.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
backup_draft_post.rb
backup_draft_topic.rb
backup_file.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
backup_location_site_setting.rb DEV: Remove logical OR assignment of constants (#29201) 2024-10-16 10:09:07 +08:00
backup_metadata.rb DEV: Replace #pluck_first freedom patch with AR #pick in core (#19893) 2023-02-13 12:39:45 +08:00
badge.rb DEV: update more deprecated font awesome icon names (#30123) 2024-12-05 15:20:02 +08:00
badge_grouping.rb DEV: Set limits for text fields on BadgeGrouping 2023-05-15 09:54:54 +02:00
badge_type.rb
base_font_setting.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
bookmark.rb Dev fix some types (#29547) 2024-11-01 19:19:25 +02:00
category.rb FIX: restore category text color field (#32915) 2025-06-02 12:16:38 +04:00
category_and_topic_lists.rb
category_custom_field.rb DEV: Add true_fields method for CustomFields (#24876) 2023-12-14 11:06:21 -06:00
category_featured_topic.rb DEV: Prefer nested queries (#23464) 2023-09-25 19:38:54 +03:00
category_form_template.rb DEV: Apply form template to categories (#20337) 2023-02-23 11:18:14 -08:00
category_group.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
category_list.rb DEV: Remove 'experimental' prefix from settings (#33233) 2025-06-19 12:23:42 +08:00
category_localization.rb FEATURE: Show translated category names from localizations table if they exist for the user locale (#32380) 2025-04-22 15:13:19 +08:00
category_moderation_group.rb FEATURE: Support designating multiple groups as mods on category (#28655) 2024-09-04 04:38:46 +03:00
category_page_style.rb FEATURE: Paginate categories when there are many (#29569) 2024-11-11 17:32:45 +02:00
category_required_tag_group.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
category_search_data.rb
category_setting.rb DEV: Switch over category settings to new table - Part 3 (#20657) 2023-09-12 09:51:49 +08:00
category_tag.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
category_tag_group.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
category_tag_stat.rb FIX: Update category tag stats with new or deleted (#21531) 2023-05-18 12:46:44 +03:00
category_user.rb FIX: more performance improvement for PostAlert job (#22487) 2023-07-13 09:02:23 +10:00
child_theme.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
color_scheme.rb FIX: exclude experimental system theme palettes (#33267) 2025-06-20 13:44:18 +08:00
color_scheme_color.rb DEV: Backend support for light/dark mode in color palettes (#30893) 2025-01-23 15:54:49 +03:00
color_scheme_setting.rb FEATURE: Theme-owned color palettes (#32795) 2025-06-04 07:47:58 +03:00
custom_emoji.rb FEATURE: Add creator and logging for CustomEmoji (#28004) 2024-07-22 14:44:49 +08:00
default_text_size_setting.rb FEATURE: fonts section for branding page (#32031) 2025-04-07 10:28:42 +08:00
developer.rb DEV: Make every DistributedCache lazily instantiated (#23147) 2023-08-18 10:59:11 -05:00
digest_email_site_setting.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
directory_column.rb DEV: Upgrade Rails to version 7.2 2024-11-27 10:48:47 +01:00
directory_item.rb FIX: Remove anonymous users from users directory (#28892) 2024-09-13 15:12:57 +03:00
discourse_connect.rb DEV: Ignore normalize_emails when using SSO (#29890) 2024-11-25 11:55:27 +08:00
discourse_version_check.rb
dismissed_topic_user.rb
do_not_disturb_timing.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
draft.rb FEATURE: Multiple Draft Topics (#30790) 2025-01-29 10:23:26 +04:00
draft_sequence.rb FIX: Destroy Drafts when increasing sequences (#27739) 2024-07-10 10:43:11 +03:00
email_change_request.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
email_level_site_setting.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
email_log.rb DEV: Remove logical OR assignment of constants (#29201) 2024-10-16 10:09:07 +08:00
email_style.rb DEV: Fix Lint/DuplicateMethods (#24746) 2023-12-06 13:18:34 +01:00
email_token.rb DEV: add scope param to user_confirmed_email event (#31394) 2025-02-27 14:53:06 -05:00
embeddable_host.rb DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
embeddable_host_tag.rb FEATURE: Extend embeddable hosts with Individual tags and author assignments (#26868) 2024-05-16 15:47:01 -04:00
embedding.rb UX: admins embedding page follows admin ux guideline (#30122) 2025-01-06 13:01:08 +11:00
emoji.rb DEV: do not convert (tm) and (TM) to emoji (#32713) 2025-05-22 10:26:23 +02:00
emoji_set_site_setting.rb DEV: discourse-emojis gem (#31408) 2025-03-03 13:09:08 +01:00
external_upload_stub.rb DEV: Improve external upload debugging (#28627) 2024-08-30 10:25:04 +10:00
flag.rb PERF: Avoid slow preloading in SiteSerializer (#33283) 2025-06-25 15:03:34 +08:00
form_template.rb FIX: Form template limit validation (#28791) 2024-09-10 08:11:44 -07:00
full_name_requirement.rb FEATURE: Add option to hide full name input at signup (#30471) 2024-12-30 22:26:20 +03:00
given_daily_like.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
global_setting.rb DEV: Upgrade the Redis gem to v5.4 2025-03-19 14:34:00 +01:00
group.rb FEATURE: Add the group show endpoint to search groups by id instead of only the slug name (#32442) 2025-05-13 14:22:06 -05:00
group_archived_message.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
group_associated_group.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
group_category_notification_default.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
group_custom_field.rb DEV: Add true_fields method for CustomFields (#24876) 2023-12-14 11:06:21 -06:00
group_history.rb DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
group_mention.rb
group_request.rb DEV: Bump the limits on group request text fields 2023-05-24 09:57:46 +02:00
group_tag_notification_default.rb FIX: Error when moving the group default notification state (#28910) 2024-09-13 16:01:20 -03:00
group_user.rb DEV: Make more group-based settings client: false (#25585) 2024-02-08 09:43:34 +10:00
ignored_user.rb
imap_sync_log.rb DEV: Remove logical OR assignment of constants (#29201) 2024-10-16 10:09:07 +08:00
incoming_domain.rb DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
incoming_email.rb DEV: add topic_id index to incoming_emails table (#26004) 2024-03-04 13:50:01 +10:00
incoming_link.rb DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
incoming_links_report.rb FIX: Respect date range in top traffic sources report (#25599) 2024-02-08 11:17:59 -05:00
incoming_referer.rb
interface_color_selector_setting.rb FEATURE: Dark/light mode selector (#31086) 2025-02-07 03:28:34 +03:00
invite.rb FEATURE: Add description to invites (#33207) 2025-06-16 11:31:07 +08:00
invite_redeemer.rb DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
invited_group.rb
invited_user.rb
javascript_cache.rb DEV: Introduce DISCOURSE_ASSET_URL_SALT (#24596) 2023-11-28 11:28:40 +00:00
like_notification_frequency_site_setting.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
linked_topic.rb
locale_site_setting.rb FEATURE: Show localized posts and topics based on user's locale (#32618) 2025-05-15 19:11:06 +08:00
mailing_list_mode_site_setting.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
mobile_category_page_style.rb FEATURE: add new setting to select view for category page on mobile (#30519) 2025-01-06 09:25:25 +05:30
moved_post.rb DEV: add full_move to MovedPost record small_action modifier (#30236) 2024-12-12 11:47:14 -06:00
muted_user.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
navigation_menu_site_setting.rb FEATURE: Remove support for legacy navigation menu (#23752) 2023-10-09 07:24:10 +08:00
new_topic_duration_site_setting.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
notification.rb FEATURE: add new hidden site setting to show full names in user card 2025-01-23 12:26:59 -05:00
notification_level_when_replying_site_setting.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
oauth2_user_info.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
onceoff_log.rb
onebox_locale_site_setting.rb FEATURE: Add a onebox_locale site setting. (#30655) 2025-01-09 14:11:37 +11:00
optimized_image.rb FIX: key optimized images on format (#32575) 2025-05-06 14:40:51 +10:00
permalink.rb FIX: Permalink.create didn't work as expected anymore (#29895) 2024-11-22 21:11:26 +01:00
plugin_store.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
plugin_store_row.rb
post.rb FEATURE: Hide topic if OP is hidden (#33201) 2025-06-24 11:44:38 +10:00
post_action.rb PERF: Avoid slow preloading in SiteSerializer (#33283) 2025-06-25 15:03:34 +08:00
post_action_type.rb FIX: flaky flags system spec (#29039) 2024-10-08 08:38:42 +11:00
post_analyzer.rb DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
post_custom_field.rb DEV: Move array type custom fields to JSON type in automation (#26939) 2024-05-10 18:47:12 +03:00
post_detail.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
post_hotlinked_media.rb DEV: Upgrade Rails to version 7.2 2024-11-27 10:48:47 +01:00
post_localization.rb DEV: Create topic and post localization resources (#32440) 2025-04-28 12:16:14 +08:00
post_mover.rb FIX: Switch back to using a temp table for moving posts. (#30509) 2024-12-31 17:02:27 +11:00
post_reply.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
post_reply_key.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
post_revision.rb DEV: Enable Rails 7.1 defaults 2024-08-12 10:41:13 +02:00
post_search_data.rb
post_stat.rb FEATURE: Store composer version and device info on post stat (#31600) 2025-03-05 12:48:32 +10:00
post_stripper.rb FIX: user got notified about a mention inside a chat message quote (#24229) 2023-11-08 23:13:25 +04:00
post_timing.rb DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
previous_replies_site_setting.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
private_message_topic_tracking_state.rb PERF: avoid publishing user actions to the user who did the action (#26225) 2024-03-18 18:05:46 +01:00
problem_check.rb DEV: Remove full_page_login setting (#32189) 2025-04-29 10:40:40 +02:00
problem_check_tracker.rb FIX: Update AdminNotice details when problem check tracker changes (#31031) 2025-01-29 09:44:20 +10:00
published_page.rb DEV: Prefer \A and \z over ^ and $ in regexes (#19936) 2023-01-20 12:52:49 -06:00
push_subscription.rb
quoted_post.rb DEV: Replace #pluck_first freedom patch with AR #pick in core (#19893) 2023-02-13 12:39:45 +08:00
redelivering_webhook_event.rb FEATURE: Add Mechanism to redeliver all failed webhook events (#27609) 2024-07-08 15:43:16 -05:00
remote_theme.rb FIX: ignore SiteSetting.max_image_size_kb for theme screenshots (#33215) 2025-06-17 08:58:37 +08:00
remove_muted_tags_from_latest_site_setting.rb DEV: Remove logical OR assignment of constants (#29201) 2024-10-16 10:09:07 +08:00
report.rb FIX: ensures colors are set for tl-growth report (#33294) 2025-06-21 12:55:23 +02:00
reviewable.rb DEV: Add a ReviewableNote model, and tie it into the Reviewable model. (#33047) 2025-06-04 09:33:02 +10:00
reviewable_claimed_topic.rb FEATURE: Sync Reviewable Status (#31901) 2025-03-24 14:27:18 +11:00
reviewable_flagged_post.rb FEATURE: send email to deleted user (#31947) 2025-03-24 14:45:25 +08:00
reviewable_history.rb DEV: Upgrade Rails to version 7.2 2024-11-27 10:48:47 +01:00
reviewable_note.rb DEV: Add a ReviewableNote model, and tie it into the Reviewable model. (#33047) 2025-06-04 09:33:02 +10:00
reviewable_post.rb FEATURE: Display a toast popup after completing a review action. (#31786) 2025-03-18 11:26:59 +11:00
reviewable_priority_setting.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
reviewable_queued_post.rb FEATURE: Display a toast popup after completing a review action. (#31786) 2025-03-18 11:26:59 +11:00
reviewable_score.rb PERF: Avoid slow preloading in SiteSerializer (#33283) 2025-06-25 15:03:34 +08:00
reviewable_sensitivity_setting.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
reviewable_user.rb FEATURE: Allow rejected user details to be scrubbed (#31987) 2025-03-31 12:40:35 +11:00
s3_region_site_setting.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
screened_email.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
screened_ip_address.rb DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
screened_url.rb DEV: Prefer \A and \z over ^ and $ in regexes (#19936) 2023-01-20 12:52:49 -06:00
search_experience_site_setting.rb FEATURE: add search field to header (#31447) 2025-02-28 12:47:09 +04:00
search_log.rb DEV: Add search_log modifier to prevent search log logging (#28279) 2024-08-08 12:41:10 -05:00
search_sort_order_site_setting.rb FEATURE: Add setting & preference for search sort default order (#24428) 2023-11-20 10:43:58 +10:00
shared_draft.rb
shelved_notification.rb DEV: Drop old notification id columns (#28550) 2024-10-15 11:58:57 +03:00
sidebar_section.rb DEV: Limit the number of category sidebar links a user can have (#26756) 2024-04-25 13:21:39 -05:00
sidebar_section_link.rb FIX: public sidebar sections belong to system user (#20972) 2023-04-05 10:52:18 +10:00
sidebar_url.rb UX: restore shared sidebar link for posts and drafts (#31159) 2025-02-04 14:40:18 +04:00
single_sign_on_record.rb DEV: Increases external avatar url limit (#28893) 2024-09-13 01:08:01 +02:00
site.rb DEV: Remove 'experimental' prefix from settings (#33233) 2025-06-19 12:23:42 +08:00
site_setting.rb DEV: Remove 'experimental' prefix from settings (#33233) 2025-06-19 12:23:42 +08:00
sitemap.rb FIX: Ensure sitemaps include all topics with no duplicates (#26289) 2024-03-21 13:19:53 +00:00
skipped_email_log.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
slug_setting.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
stat.rb FEATURE: Enable the new /about page for everyone (#29390) 2024-10-29 18:40:11 +03:00
stylesheet_cache.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
tag.rb FIX: Include permissions in the tag serializer (#27849) 2024-07-11 19:59:57 +03:00
tag_group.rb FIX: ensure GroupChooser works with localized group names (#30593) 2025-01-13 11:29:04 +01:00
tag_group_membership.rb
tag_group_permission.rb
tag_search_data.rb
tag_user.rb DEV: Ensure unique notification level per tag user (#28638) 2024-09-03 15:43:02 +08:00
theme.rb DEV: Partially refactor themes controller to services (#33141) 2025-06-23 10:14:58 +10:00
theme_color_scheme.rb DEV: Introduce theme-owned color palettes (#30915) 2025-01-22 12:03:37 +03:00
theme_field.rb DEV: Partially refactor themes controller to services (#33141) 2025-06-23 10:14:58 +10:00
theme_modifier_set.rb DEV: TopicListItemSerializer tells if topic is among the top 100 hottest topics (#31935) 2025-03-24 11:55:14 -05:00
theme_setting.rb FEATURE: theme_modifiers can depend on theme settings (plus serialize_post_user_badges) (#29227) 2024-10-17 15:16:16 +01:00
theme_settings_migration.rb DEV: Introduce run_theme_migration spec helper in test environment (#26845) 2024-05-03 06:29:18 +08:00
theme_svg_sprite.rb FIX: Always clear caches after committing the current transaction (#22550) 2023-07-12 09:49:28 -05:00
theme_translation_override.rb
top_lists.rb
top_menu_item.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
top_topic.rb FIX: Don't error out on nested top topic period param (#29275) 2024-10-21 10:44:43 +08:00
topic.rb DEV: update composer similar topics limit (#32934) 2025-05-27 14:06:31 +04:00
topic_allowed_group.rb
topic_allowed_user.rb
topic_converter.rb FIX: display validation errors when converting topics (#27064) 2024-05-17 16:36:25 +02:00
topic_custom_field.rb DEV: Move array type custom fields to JSON type in automation (#26939) 2024-05-10 18:47:12 +03:00
topic_embed.rb FIX: topic embed blank tags or passed with nil do not blank out existing topic tags (#27699) 2024-07-03 14:50:59 -07:00
topic_featured_users.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
topic_group.rb DEV: Enable unless cops 2023-02-21 10:30:48 +01:00
topic_hot_score.rb FEATURE: Dynamic size for hot topic IDs cache (#32175) 2025-04-04 11:58:06 -03:00
topic_invite.rb
topic_link.rb SECURITY: Respect max length in bot-human PMs 2025-06-09 12:04:11 +08:00
topic_link_click.rb DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
topic_list.rb DEV: Remove 'experimental' prefix from settings (#33233) 2025-06-19 12:23:42 +08:00
topic_localization.rb FEATURE: Also localize topic excerpts (#32839) 2025-05-21 17:49:27 +08:00
topic_notifier.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
topic_participant_groups_summary.rb FEATURE: display PM participant group names in the topics list. (#21677) 2023-05-31 19:32:06 +05:30
topic_participants_summary.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
topic_poster.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
topic_posters_summary.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
topic_search_data.rb
topic_tag.rb SECURITY: Default tags to show count of topics in unrestricted categories (#19916) 2023-01-20 09:50:24 +08:00
topic_thumbnail.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
topic_timer.rb DEV: Fix various rubocop lints (#24749) 2023-12-06 23:25:00 +01:00
topic_tracking_state.rb DEV: Upgrade Rails to version 7.2 2024-11-27 10:48:47 +01:00
topic_user.rb DEV: Publish DiscourseEvent in TopicUser.track_visit for first visit (#27975) 2024-07-19 10:53:12 -05:00
topic_view_item.rb DEV: Fix flaky request tracker system spec (#29136) 2024-10-09 07:53:08 +08:00
topic_view_stat.rb FEATURE: topic_view_stats table with daily fidelity (#27197) 2024-05-27 15:25:32 +10:00
translation_override.rb DEV: Refresh translation override status when updating (#31233) 2025-02-07 14:12:28 +08:00
trust_level3_requirements.rb DEV: Fix Lint/DuplicateMethods (#24746) 2023-12-06 13:18:34 +01:00
trust_level_and_staff_and_disabled_setting.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
trust_level_and_staff_setting.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
trust_level_setting.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
unsubscribe_key.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
upload.rb FIX: Upload#update_secure_status not updating s3 access control (#33232) 2025-06-17 16:28:36 +08:00
upload_reference.rb Revert "FIX: Post uploads setting access_control_post_id unnecessarily (#26627)" (#26643) 2024-04-16 14:10:25 +10:00
user.rb FIX: Correct new_user_posting_on_first_day? logic (#33303) 2025-06-24 08:05:51 +10:00
user_action.rb FEATURE: User Notifications Links Page (#26609) 2024-04-11 15:54:28 -06:00
user_api_key.rb Add dedicated user_api_key_clients table to allow for 1:many use cases (#28119) 2024-11-08 12:05:03 -05:00
user_api_key_client.rb Require permitted scopes when registering a client (#29718) 2024-11-19 15:28:04 -05:00
user_api_key_client_scope.rb Use lambda to dynamically evaluate allowed user api key client scopes (#30544) 2025-01-03 10:25:21 -05:00
user_api_key_scope.rb DEV: Allow user api key scope for notifications#totals (#26205) 2024-03-15 16:06:32 -04:00
user_archived_message.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
user_associated_account.rb
user_associated_group.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
user_auth_token.rb FIX: store information about the login method in the database. (#28054) 2024-07-24 17:19:58 +10:00
user_auth_token_log.rb
user_avatar.rb DEV: ensure rebaking works even when some users have inconsistent data (#30261) 2024-12-16 19:48:25 +08:00
user_badge.rb FIX: Query syntax error in UserBadge.update_featured_ranks! (#30979) 2025-01-24 14:06:39 +08:00
user_badges.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
user_bookmark_list.rb FIX: Serialize categories for bookmarks (#26606) 2024-04-17 17:23:47 +03:00
user_custom_field.rb FIX: Searchable user fields do not always have an integer name (#30223) 2024-12-17 11:06:19 +11:00
user_email.rb DEV: ensure rebaking works even when some users have inconsistent data (#30261) 2024-12-16 19:48:25 +08:00
user_export.rb FEATURE: Allow admins to export users (#30918) 2025-01-24 08:13:25 +11:00
user_field.rb DEV: Modernize admin user fields (#29843) 2024-11-25 11:54:43 +08:00
user_field_option.rb
user_history.rb FIX: filterable staff logs for flags (#29695) 2024-11-12 11:23:18 +11:00
user_ip_address_history.rb
user_notification_schedule.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
user_open_id.rb
user_option.rb FEATURE: fonts section for branding page (#32031) 2025-04-07 10:28:42 +08:00
user_password.rb FIX: setting new password should reset password_expired_at (#29296) 2024-10-21 07:24:43 +08:00
user_profile.rb DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
user_profile_view.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
user_required_fields_version.rb FEATURE: User fields required for existing users - Part 2 (#27172) 2024-06-25 19:32:18 +08:00
user_search.rb FEATURE: prioritize the user who is getting the reply in the autocomplete (#32086) 2025-04-04 10:11:37 -03:00
user_search_data.rb
user_second_factor.rb SECURITY: Limit name field length of TOTP authenticators and security keys 2023-09-12 15:31:17 -03:00
user_security_key.rb Added button to remove password from account (#32200) 2025-04-09 09:32:51 -05:00
user_stat.rb FEATURE: Multiple Draft Topics (#30790) 2025-01-29 10:23:26 +04:00
user_status.rb FIX: Truncate existing user status to 100 chars (#20044) 2023-01-30 10:49:08 +02:00
user_summary.rb FEATURE: add icons and emojis to category (#31795) 2025-03-26 09:46:17 +04:00
user_upload.rb
user_visit.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
user_warning.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
username_validator.rb FIX: Improve group name validation (#31315) 2025-02-19 19:33:46 +02:00
watched_word.rb SECURITY: limit the number of characters in watched word replacements. 2024-07-15 19:25:17 +08:00
watched_word_group.rb SECURITY: limit the number of characters in watched word replacements. 2024-07-15 19:25:17 +08:00
web_crawler_request.rb DEV: Replace #pluck_first freedom patch with AR #pick in core (#19893) 2023-02-13 12:39:45 +08:00
web_hook.rb DEV: Delete plugin specific webhook event types (#29374) 2024-10-24 11:02:58 -05:00
web_hook_event.rb FEATURE: Add Mechanism to redeliver all failed webhook events (#27609) 2024-07-08 15:43:16 -05:00
web_hook_event_type.rb DEV: Upgrade Rails to version 7.2 2024-11-27 10:48:47 +01:00
web_hook_event_types_hook.rb FEATURE: granular webhooks (#23070) 2023-10-09 03:35:31 +00:00
web_hook_events_daily_aggregate.rb FIX: Division by zero error on WebHookEventsDailyAggregate (#27667) 2024-07-01 15:40:52 -03:00