discourse/app/models
Sam 3829c78526 PERF: shift most user options out of the user table
As it stands we load up user records quite frequently on the topic pages,
this in turn pulls all the columns for the users being selected, just to
discard them after they are loaded

New structure keeps all options in a discrete table, this is better organised
and allows us to easily add more column without worrying about bloating the
user table
2016-02-17 18:08:25 +11:00
..
concerns FIX: Use declared constant. 2016-01-19 10:58:15 +08:00
about.rb PERF: Cache About#stats. 2015-07-20 22:45:05 +08:00
admin_dashboard_data.rb Merge pull request #3735 from riking/patch-4 2015-11-06 14:52:19 -05:00
anon_site_json_cache_observer.rb PERF: introduce full cache for site json when anon 2015-09-28 16:50:24 +10:00
api_key.rb create a new table to maintain csv export log 2014-12-24 16:25:36 +05:30
application_request.rb cut out an exception 2015-08-19 16:57:26 +10:00
auto_track_duration_site_setting.rb fix the build 2015-09-14 10:48:24 +02:00
backup.rb FEATURE: move migrate_to_new_scheme into a background job 2015-06-12 12:07:57 +02:00
badge_grouping.rb UX: Show translated badge names and badge groupings 2015-12-30 23:35:16 +01:00
badge_type.rb FIX: remove nullable dates post upgrade to Rails 4 2014-08-27 15:19:25 +10:00
badge.rb FIX: sharing badges were off by 1 2015-10-13 12:32:29 +11:00
category_custom_field.rb FIX: remove nullable dates post upgrade to Rails 4 2014-08-27 15:19:25 +10:00
category_featured_topic.rb FIX: categories page would sometimes show no topics, even if there are some visible topics to show 2015-09-21 18:13:14 -04:00
category_featured_user.rb FIX: remove nullable dates post upgrade to Rails 4 2014-08-27 15:19:25 +10:00
category_group.rb FEATURE: Log staff actions for Category changes. 2015-09-18 10:53:08 +08:00
category_list.rb FIX: categories' notification_level wasn't serialized when hitting /categories 2015-09-15 14:58:22 +02:00
category_search_data.rb
category_user.rb PERF: improve performance of consistency query 2016-02-15 19:29:47 +11:00
category.rb Merge pull request #3956 from tgxworld/fix_clashing_slug 2016-01-18 10:15:13 +08:00
color_scheme_color.rb FIX: remove nullable dates post upgrade to Rails 4 2014-08-27 15:19:25 +10:00
color_scheme.rb PERF: omit 2 queries on every full page load 2015-09-23 16:47:17 +10:00
digest_email_site_setting.rb fix the build 2015-09-14 10:48:24 +02:00
digest_unsubscribe_key.rb update annotations 2015-09-18 10:41:10 +10:00
directory_item.rb FIX: correct counts on user summary 2016-01-24 16:39:01 +11:00
discourse_single_sign_on.rb FIX: find_by_attribute method in Rails 4.5 is case insensitive. 2016-02-15 23:05:16 +08:00
discourse_version_check.rb FEATURE: Use git describe for dashboard version 2015-02-23 16:07:08 -08:00
draft_sequence.rb FIX: when advancing draft sequence remove old drafts 2015-06-02 20:28:33 +10:00
draft.rb update annotations 2015-09-18 10:41:10 +10:00
email_log.rb add support for incoming emails in CC/BCC fields 2015-12-10 23:49:16 +01:00
email_token.rb FIX: only invalidate password reset links using javascript 2016-01-04 11:48:54 -05:00
embeddable_host.rb Support IP addresses for embeddable hosts 2016-01-11 11:06:32 -05:00
embedding.rb FIX: allow emoji class when crawling embedded content, add rspc-html-matchers 2015-11-05 18:51:26 -08:00
emoji_set_site_setting.rb FIX: emoji rebuild when changing emoji set for the 1st time 2015-01-07 17:54:09 +01:00
emoji.rb Add more server side unicode replacements for emoji 2015-12-30 14:46:52 -05:00
facebook_user_info.rb FIX: remove nullable dates post upgrade to Rails 4 2014-08-27 15:19:25 +10:00
github_user_info.rb FIX: remove nullable dates post upgrade to Rails 4 2014-08-27 15:19:25 +10:00
global_setting.rb FEATURE: AR adapter to failover to a replica DB server. 2016-02-05 08:51:10 +08:00
google_user_info.rb FIX: remove nullable dates post upgrade to Rails 4 2014-08-27 15:19:25 +10:00
group_archived_message.rb FEATURE: automatically sync "move to inbox" / "archive" state on messages 2016-02-07 23:39:07 +11:00
group_custom_field.rb FIX: remove nullable dates post upgrade to Rails 4 2014-08-27 15:19:25 +10:00
group_manager.rb update annotations 2015-09-18 10:41:10 +10:00
group_mention.rb Update annotate and annotate models 2016-01-11 17:30:56 +11:00
group_user.rb FEATURE: change group default tracking level to tracking (database changes) 2016-01-27 21:56:25 +11:00
group.rb Update annotate and annotate models 2016-01-11 17:30:56 +11:00
incoming_domain.rb FIX: catch specific exception 2014-08-06 10:00:55 +10:00
incoming_email.rb FEATURE: better email in support 2016-01-19 00:57:55 +01:00
incoming_link.rb handle invalid param gracefully 2015-05-07 11:06:42 +10:00
incoming_links_report.rb Replace Hash#keys.each with Hash#each_key for some perf boost 2015-04-18 21:53:53 +10:00
incoming_referer.rb FIX: catch specific exception 2014-08-06 10:00:55 +10:00
invite_redeemer.rb FIX: do not delete already redeemed invite 2015-03-25 23:30:09 +05:30
invite.rb FIX: return 422 if the invite is already redeemed 2015-09-16 17:30:00 +05:30
invited_group.rb FIX: remove nullable dates post upgrade to Rails 4 2014-08-27 15:19:25 +10:00
locale_site_setting.rb PERF: only load locale files we are using 2015-02-12 12:08:14 +11:00
muted_user.rb update annotations 2015-09-18 10:41:10 +10:00
new_topic_duration_site_setting.rb fix the build 2015-09-14 10:48:24 +02:00
notification.rb FIX: Always ensure notifications are treated as read once clicked 2016-02-15 19:29:47 +11:00
oauth2_user_info.rb FIX: remove nullable dates post upgrade to Rails 4 2014-08-27 15:19:25 +10:00
optimized_image.rb FIX: resize emoji job was generate errors 2015-10-30 23:31:30 +01:00
permalink.rb FIX: permalinks redirect on subfolder installs could add the subfolder to the url twice 2015-10-12 16:54:53 -04:00
plugin_store_row.rb
plugin_store.rb removed useless assignments at some places 2014-08-19 18:10:23 +05:30
post_action_type.rb Enums that are used in tables need to be stable 2016-01-08 20:43:11 +05:30
post_action.rb FIX: hidden posts that are edited by the author and unhidden could not be flagged by the same users again 2015-12-29 16:59:36 -05:00
post_alert_observer.rb FIX: correctly mute likers 2015-03-26 12:08:04 +11:00
post_analyzer.rb FIX: mentions regex server-side (ie. don't count email addresses) 2016-01-12 09:53:09 +01:00
post_custom_field.rb update annotations 2015-09-18 10:41:10 +10:00
post_detail.rb FIX: remove nullable dates post upgrade to Rails 4 2014-08-27 15:19:25 +10:00
post_mover.rb FEATURE: when all posts in a topic are moved, close the topic 2015-12-29 16:01:55 -05:00
post_reply.rb FIX: remove nullable dates post upgrade to Rails 4 2014-08-27 15:19:25 +10:00
post_revision.rb add allowed_ips to api_keys 2014-11-20 14:53:15 +11:00
post_search_data.rb
post_stat.rb update annotations 2015-09-18 10:41:10 +10:00
post_timing.rb FEATURE: track user visits on mobile and display on admin dashboard in a new Mobile section 2015-07-07 14:06:42 -04:00
post_upload.rb
post.rb FIX: when a user got multiple replies to a topic, emails were missing 2016-01-27 12:20:08 +11:00
queued_post.rb update annotations 2015-09-18 10:41:10 +10:00
quoted_post.rb FIX: remove nullable dates post upgrade to Rails 4 2014-08-27 15:19:25 +10:00
report.rb FEATURE: filter admin reports via user group 2016-02-04 11:23:49 +05:30
rtl.rb add persian language to rtl support 2015-04-07 00:36:46 +04:30
s3_region_site_setting.rb FIX: localize S3 region names 2016-01-19 17:14:45 +01:00
screened_email.rb FEATURE: automatic daily roll-up for screened IP addresses 2015-03-09 18:55:17 +01:00
screened_ip_address.rb FEATURE: add site setting use_admin_ip_whitelist to enable/disable the whitelisting of admins by IP address 2015-09-23 12:15:08 -04:00
screened_url.rb FIX: remove nullable dates post upgrade to Rails 4 2014-08-27 15:19:25 +10:00
search_observer.rb - FEATURE: revamped poll plugin 2015-04-23 19:33:29 +02:00
single_sign_on_record.rb FIX: remove nullable dates post upgrade to Rails 4 2014-08-27 15:19:25 +10:00
site_customization.rb more fields needed flagging as HTML fields 2015-11-27 12:22:54 +11:00
site_setting.rb FIX: select appropriate period when redirecting to top 2015-09-21 20:28:20 +02:00
site.rb PERF: properly preload all category notification levels 2015-12-20 17:47:02 +11:00
slug_setting.rb FEATURE: add slug geneartion options 2015-05-05 18:08:30 +08:00
stylesheet_cache.rb update annotations 2015-09-18 10:41:10 +10:00
top_lists.rb
top_menu_item.rb
top_topic.rb FEATURE: make top criteria formula multipliers controlled by site 2016-01-21 10:30:06 +05:30
topic_allowed_group.rb
topic_allowed_user.rb FIX: remove nullable dates post upgrade to Rails 4 2014-08-27 15:19:25 +10:00
topic_custom_field.rb annotations 2015-02-04 16:34:25 +11:00
topic_embed.rb FIX: Don't normalize URLs before fetching them, only for saving them 2015-11-06 16:25:11 -05:00
topic_featured_users.rb FIX: whispers should not be revealed in reply to, or reply expansion 2015-09-25 10:16:19 +10:00
topic_invite.rb FIX: remove nullable dates post upgrade to Rails 4 2014-08-27 15:19:25 +10:00
topic_link_click.rb FIX: Allow really long links to work 2015-09-25 14:07:20 -04:00
topic_link.rb FIX: Allow really long links to work 2015-09-25 14:07:20 -04:00
topic_list.rb FEATURE: allow efficient preloading of custom fields in topic list 2015-08-05 16:09:21 +10:00
topic_notifier.rb FEATURE: notification_level on a per-group basis 2015-12-14 23:17:09 +01:00
topic_participants_summary.rb
topic_poster.rb
topic_posters_summary.rb FIX: missing avatar when sizing down window 2014-09-19 12:35:35 +10:00
topic_status_update.rb FIX: Autoclose message was not correct when immediate 2015-12-08 18:16:48 +05:30
topic_tracking_state.rb PERF: optimise new/unread query 2015-09-29 11:55:09 +10:00
topic_user.rb Enums that are used in tables need to be stable 2016-01-08 20:43:11 +05:30
topic_view_item.rb FIX: Use custom date for redis key in TopicViewItem.add. 2015-09-14 11:17:28 +08:00
topic.rb FIX: message_archived? not set correctly for groups 2016-01-19 18:35:46 +11:00
translation_override.rb Update annotate and annotate models 2016-01-11 17:30:56 +11:00
trust_level_setting.rb fix the build 2015-09-14 10:48:24 +02:00
trust_level3_requirements.rb FIX: setting tl3_min_likes_received too high can make it impossible to be promoted to tl3. Cap the min number of days over which those likes must be received. 2015-12-29 12:59:59 -05:00
twitter_user_info.rb FIX: remove nullable dates post upgrade to Rails 4 2014-08-27 15:19:25 +10:00
upload.rb SECURITY: ensure we never accept fake images 2015-12-21 16:08:14 +01:00
user_action_observer.rb FIX: Staff was getting 500 when editing post in deleted topic 2015-11-13 11:35:23 -05:00
user_action.rb FIX: correct counts on user summary 2016-01-24 16:39:01 +11:00
user_archived_message.rb FEATURE: don't move muted messages back into inbox 2016-02-15 10:56:39 +11:00
user_avatar.rb FIX: refreshing gravatar wasn't working 2015-09-17 19:42:44 +02:00
user_badge.rb FIX: the badge triggers broke 2015-02-26 00:50:58 +00:00
user_badges.rb FEATURE: you can not drill down and see why you have badges 2016-01-18 17:59:20 +11:00
user_custom_field.rb FIX: remove nullable dates post upgrade to Rails 4 2014-08-27 15:19:25 +10:00
user_email_observer.rb PERF: shift most user options out of the user table 2016-02-17 18:08:25 +11:00
user_export.rb annotations 2015-02-04 16:34:25 +11:00
user_field_option.rb update annotations 2015-09-18 10:41:10 +10:00
user_field.rb update annotations 2015-09-18 10:41:10 +10:00
user_history.rb FEATURE: log admin/moderator grant/revoke action 2016-01-27 15:39:04 +05:30
user_open_id.rb FIX: remove nullable dates post upgrade to Rails 4 2014-08-27 15:19:25 +10:00
user_option.rb PERF: shift most user options out of the user table 2016-02-17 18:08:25 +11:00
user_profile_view.rb FEATURE: filter admin reports via user group 2016-02-04 11:23:49 +05:30
user_profile.rb FIX: validate user website 2016-02-06 02:19:48 +05:30
user_search_data.rb
user_search.rb FEATURE: first class group mentions built in 2015-11-30 17:08:43 +11:00
user_stat.rb FIX: correct counts on user summary 2016-01-24 16:39:01 +11:00
user_summary.rb SECURITY: user summary could show topic links you have no permissions to 2016-01-28 11:12:12 +11:00
user_visit.rb FEATURE: filter admin reports via user group 2016-02-04 11:23:49 +05:30
user.rb PERF: shift most user options out of the user table 2016-02-17 18:08:25 +11:00
username_validator.rb FIX: username suggester to account for the more relaxed username rules (closes #3907) 2016-01-20 15:37:34 +01:00
warning.rb add allowed_ips to api_keys 2014-11-20 14:53:15 +11:00