discourse/app/models
Guo Xiang Tan 0e1b896821 Explicitly assign primary_email record when creating a user
* This looks like we're doing the same thing but
  we're debugging a race condition where a user
  can be created without an email record. Therefore,
  we prefer the more obvious method of assigning an
  association.
2018-03-09 15:59:46 +08:00
..
concerns New interface to upsert custom fields 2018-03-02 12:45:52 -05:00
about.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
admin_dashboard_data.rb FEATURE: Display force_https warning in admin problems dashboard 2018-01-11 12:16:10 +05:30
api_key.rb Fix all the errors to get our tests green on Rails 5.1. 2017-09-25 13:48:58 +08:00
application_request.rb Explicitly avoid all readonly protection and scoping 2017-10-25 13:31:44 +11:00
auto_track_duration_site_setting.rb
backup.rb FEATURE: allow specifying s3 config via globals 2017-10-06 16:20:01 +11:00
badge_grouping.rb Update annotations. 2018-02-20 14:28:58 +08:00
badge_type.rb Update annotations. 2018-02-20 14:28:58 +08:00
badge.rb Update annotations. 2018-02-20 14:28:58 +08:00
category_and_topic_lists.rb
category_custom_field.rb
category_featured_topic.rb refinement and test for batch mode on feature_topics 2017-12-20 13:58:05 +11:00
category_group.rb
category_list.rb FEATURE: add category suppress from latest 2018-02-22 09:56:35 +11:00
category_page_style.rb FEATURE: New "Categories and Top" homepage style 2018-03-03 14:26:57 -05:00
category_search_data.rb annotate models 2017-08-16 10:38:11 -04:00
category_tag_group.rb Update annotations. 2018-02-20 14:28:58 +08:00
category_tag_stat.rb Update annotations. 2018-02-20 14:28:58 +08:00
category_tag.rb Update annotations. 2018-02-20 14:28:58 +08:00
category_user.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
category.rb FIX: bulk importers need to create category description topics 2018-03-07 12:10:22 -05:00
child_theme.rb Update annotations. 2018-02-20 14:28:58 +08:00
color_scheme_color.rb Update annotations. 2018-02-20 14:28:58 +08:00
color_scheme.rb Update annotations. 2018-02-20 14:28:58 +08:00
custom_emoji.rb
developer.rb
digest_email_site_setting.rb
directory_item.rb FIX: properly omit inactive and silenced users from directory 2017-12-19 12:53:59 +11:00
discourse_single_sign_on.rb Add more information to SSO user creation logging. 2018-03-02 18:27:15 +08:00
discourse_version_check.rb REFACTOR: Avoid duplicated logic on server and client. 2017-11-21 17:10:04 +08:00
draft_sequence.rb Update annotations. 2018-02-20 14:28:58 +08:00
draft.rb Update annotations. 2018-02-20 14:28:58 +08:00
email_change_request.rb
email_log.rb Update annotations. 2018-02-20 14:28:58 +08:00
email_token.rb Review Changes for f4f8a293e7. 2018-02-21 14:55:49 +08:00
embeddable_host.rb Update annotations. 2018-02-20 14:28:58 +08:00
embedding.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
emoji_set_site_setting.rb Fix all the errors to get our tests green on Rails 5.1. 2017-09-25 13:48:58 +08:00
emoji.rb FIX: be more lenient when deleting a custom emoji 2017-11-20 23:50:23 +01:00
facebook_user_info.rb Update annotations. 2018-02-20 14:28:58 +08:00
github_user_info.rb Update annotations. 2018-02-20 14:28:58 +08:00
given_daily_like.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
global_setting.rb Add new config to ensure backup/restore connects to PG directly. 2018-03-09 10:28:03 +08:00
google_user_info.rb Update annotations. 2018-02-20 14:28:58 +08:00
group_archived_message.rb FIX: Publish live messages to both team inbox and archive on update. 2018-03-07 14:01:20 +08:00
group_custom_field.rb
group_history.rb
group_manager.rb
group_mention.rb Update annotations. 2018-02-20 14:28:58 +08:00
group_user.rb FIX: Don't fail silently when updating a record. 2017-11-29 08:01:13 +08:00
group.rb FIX: Don't include unlisted topic in groups/posts 2018-02-28 14:40:18 -05:00
incoming_domain.rb
incoming_email.rb removes whitespaces and uses scope 2017-11-13 15:23:24 +01:00
incoming_link.rb FIX: use different variable name for referer record 2017-12-29 23:31:53 +05:30
incoming_links_report.rb FIX: subfolder: top referred topics report was missing subfolder in links 2018-01-15 17:28:35 -05:00
incoming_referer.rb
instagram_user_info.rb
invite_redeemer.rb FEATURE: Allow sending invites to staged users 2018-01-22 15:37:18 +01:00
invite.rb Update annotations. 2018-02-20 14:28:58 +08:00
invited_group.rb
like_notification_frequency_site_setting.rb
locale_site_setting.rb FEATURE: Allow plugins to register a new locale 2018-01-25 14:57:41 +01:00
mailing_list_mode_site_setting.rb
muted_user.rb Update annotations. 2018-02-20 14:28:58 +08:00
new_topic_duration_site_setting.rb
notification_level_when_replying_site_setting.rb
notification.rb Require dependency otherwise it causes Sidekiq to lock up in development. 2017-09-25 13:48:59 +08:00
oauth2_user_info.rb Update annotations. 2018-02-20 14:28:58 +08:00
onceoff_log.rb
optimized_image.rb Update annotations. 2018-02-20 14:28:58 +08:00
permalink.rb Update annotations. 2018-02-20 14:28:58 +08:00
plugin_store_row.rb Update annotations. 2018-02-20 14:28:58 +08:00
plugin_store.rb REFACTOR: Instance methods added to 'PluginStore' model for easy access (#5315) 2017-11-15 10:10:20 -05:00
post_action_type.rb FIX: Post Action Type 6 is not a notify type 2017-10-19 17:13:55 -04:00
post_action.rb FIX: Don't allow other flag actions after notify_moderator has happened. 2018-02-28 11:27:56 +08:00
post_analyzer.rb FIX: Consider live links in <code> as links when counting 2018-03-06 11:46:12 -05:00
post_custom_field.rb Update annotations. 2017-10-06 11:13:01 +08:00
post_detail.rb Update annotations. 2018-02-20 14:28:58 +08:00
post_mover.rb FIX: Validations could prevent moving posts 2018-02-08 13:36:13 +01:00
post_reply.rb
post_revision.rb
post_search_data.rb Update annotations. 2018-02-20 14:28:58 +08:00
post_stat.rb Update annotations. 2018-02-20 14:28:58 +08:00
post_timing.rb PERF: reduce queries required for post timings 2018-01-17 15:50:41 +11:00
post_upload.rb
post.rb REFACTOR: Use Topic#private_message? to reduce duplication. 2018-03-05 15:39:22 +08:00
previous_replies_site_setting.rb
queued_post.rb Update annotations. 2018-02-20 14:28:58 +08:00
quoted_post.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
remote_theme.rb FEATURE: allow themes to live in private git repos 2018-03-09 16:14:38 +11:00
report.rb FIX: admin reports would sometimes return fewer than 30 days of data, causing current 30 day period counts to be too small and prev30day counts to count the wrong days 2018-02-01 15:50:51 -05:00
s3_region_site_setting.rb add 'us-east-2' S3 region 2017-07-10 15:36:38 +02:00
scheduler_stat.rb
screened_email.rb Update annotations. 2018-02-20 14:28:58 +08:00
screened_ip_address.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
screened_url.rb Update annotations. 2018-02-20 14:28:58 +08:00
search_log.rb no need to log anything if term is blank 2018-01-17 11:02:53 +11:00
single_sign_on_record.rb Update annotations. 2018-02-20 14:28:58 +08:00
site_setting.rb Update annotations. 2018-02-20 14:28:58 +08:00
site.rb FEATURE: add category suppress from latest 2018-02-22 09:56:35 +11:00
slug_setting.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
stylesheet_cache.rb Update annotations. 2018-02-20 14:28:58 +08:00
tag_group_membership.rb Update annotations. 2018-02-20 14:28:58 +08:00
tag_group.rb Update annotations. 2018-02-20 14:28:58 +08:00
tag_search_data.rb annotate stuff 2017-08-29 10:48:22 -04:00
tag_user.rb Update annotations. 2018-02-20 14:28:58 +08:00
tag.rb FEATURE: filter personal messages by tags 2018-03-08 14:42:07 +05:30
theme_field.rb FEATURE: we need access to settings in theme js 2018-03-05 15:35:41 +11:00
theme_setting.rb FEATURE: we need access to settings in theme js 2018-03-05 15:35:41 +11:00
theme.rb FEATURE: Theme settings (2) (#5611) 2018-03-04 19:04:23 -05:00
top_lists.rb
top_menu_item.rb
top_topic.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
topic_allowed_group.rb
topic_allowed_user.rb
topic_converter.rb FIX: converting topic to message for a second time was broken 2018-03-08 17:59:04 +05:30
topic_custom_field.rb
topic_embed.rb FIX: Embedded topic was not found when URL contained query string 2018-02-14 00:28:30 +01:00
topic_featured_users.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
topic_invite.rb
topic_link_click.rb Update annotations. 2018-02-20 14:28:58 +08:00
topic_link.rb Update annotations. 2018-02-20 14:28:58 +08:00
topic_list.rb FEATURE: filter personal messages by tags 2018-03-08 14:42:07 +05:30
topic_notifier.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
topic_participants_summary.rb
topic_poster.rb
topic_posters_summary.rb Require dependency otherwise it causes Sidekiq to lock up in development. 2017-09-25 13:48:59 +08:00
topic_search_data.rb Update annotations. 2018-02-20 14:28:58 +08:00
topic_tag.rb Merge branch 'master' into pm-tags 2018-02-21 23:55:59 +05:30
topic_timer.rb Update annotations. 2018-02-20 14:28:58 +08:00
topic_tracking_state.rb FIX: Publish live messages to both team inbox and archive on update. 2018-03-07 14:01:20 +08:00
topic_user.rb FIX: Set first visit PM notification level to group default notification level. 2018-03-05 13:39:00 +08:00
topic_view_item.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
topic.rb FIX: user should not be able to invite to PM if trust level requirment not met 2018-03-08 14:59:04 +05:30
translation_override.rb FIX: overriding _MF translations worked only for English 2018-02-07 12:47:15 +01:00
trust_level_setting.rb
trust_level3_requirements.rb FIX: Don't allow silenced users to reach TL3 2018-02-12 17:20:11 -05:00
twitter_user_info.rb Update annotations. 2018-02-20 14:28:58 +08:00
unsubscribe_key.rb Update annotations. 2018-02-20 14:28:58 +08:00
upload.rb Update annotations. 2018-02-20 14:28:58 +08:00
user_action.rb Update annotations. 2018-02-20 14:28:58 +08:00
user_api_key.rb Update annotations. 2018-02-20 14:28:58 +08:00
user_archived_message.rb FIX: User archive messages should only publish to the user. 2018-03-07 11:28:29 +08:00
user_auth_token_log.rb
user_auth_token.rb Update annotations. 2018-02-20 14:28:58 +08:00
user_avatar.rb FIX: correctly raise errors when downloads fail 2017-09-28 16:35:43 +10:00
user_badge.rb Update annotations. 2018-02-20 14:28:58 +08:00
user_badges.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
user_custom_field.rb
user_email.rb Update annotations. 2018-02-20 14:28:58 +08:00
user_export.rb Update annotations. 2018-02-20 14:28:58 +08:00
user_field_option.rb Update annotations. 2018-02-20 14:28:58 +08:00
user_field.rb Update annotations. 2018-02-20 14:28:58 +08:00
user_history.rb FEATURE: Implement 2factor login TOTP 2018-02-21 09:04:07 +08:00
user_open_id.rb Update annotations. 2018-02-20 14:28:58 +08:00
user_option.rb rename 'default_email_private_messages' to 'default_email_personal_messages' 2018-02-01 13:25:29 +05:30
user_profile_view.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
user_profile.rb Update annotations. 2018-02-20 14:28:58 +08:00
user_search_data.rb annotate models 2017-08-16 10:38:11 -04:00
user_search.rb FEATURE: search within title using in:title 2018-02-20 14:41:21 +11:00
user_second_factor.rb Update annotations. 2018-02-26 15:32:04 +08:00
user_stat.rb PERF: reduce queries required for post timings 2018-01-17 15:50:41 +11:00
user_summary.rb FEATURE: show topics viewed on user summary 2017-11-17 17:53:30 -05:00
user_visit.rb REFACTOR: Track manual locked user levels separately from groups 2017-11-27 11:23:44 -05:00
user_warning.rb Update annotations. 2018-02-20 14:28:58 +08:00
user.rb Explicitly assign primary_email record when creating a user 2018-03-09 15:59:46 +08:00
username_validator.rb
watched_word.rb Update annotations. 2018-02-20 14:28:58 +08:00
web_hook_event_type.rb
web_hook_event.rb Update annotations. 2018-02-20 14:28:58 +08:00
web_hook.rb Update annotations. 2018-02-20 14:28:58 +08:00