discourse/app/models
Guo Xiang Tan 22ba70fb01 Merge pull request #5226 from tgxworld/allow_user_to_disable_private_messages
FEATURE: Allow users to disable new PMs.
2017-10-19 16:46:18 +08:00
..
concerns Add Suspend User to flags page 2017-09-25 12:28:00 -04:00
about.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
admin_dashboard_data.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
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 Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
auto_track_duration_site_setting.rb fix the build 2015-09-14 10:48:24 +02:00
backup.rb FEATURE: allow specifying s3 config via globals 2017-10-06 16:20:01 +11:00
badge_grouping.rb annotate models 2016-02-23 10:33:53 +11:00
badge_type.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
badge.rb FEATURE: new badges when visiting the forum for 10, 100 and 365 consecutive days 2017-09-06 22:35:08 +02:00
category_and_topic_lists.rb FEATURE: new 'categories_and_latest' endpoint 2016-08-29 22:47:44 +02: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 all the errors to get our tests green on Rails 5.1. 2017-09-25 13:48:58 +08:00
category_featured_user.rb Fix all the errors to get our tests green on Rails 5.1. 2017-09-25 13:48:58 +08:00
category_group.rb FEATURE: Log staff actions for Category changes. 2015-09-18 10:53:08 +08:00
category_list.rb Fix the build. 2017-08-01 17:57:26 +09:00
category_page_style.rb UX: new 'category_page_style' site setting 2016-08-22 23:01:43 +02:00
category_search_data.rb annotate models 2017-08-16 10:38:11 -04:00
category_tag_group.rb annotate models 2017-08-16 10:38:11 -04:00
category_tag.rb annotate models 2017-08-16 10:38:11 -04:00
category_user.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
category.rb Update annotations. 2017-10-06 11:13:01 +08:00
child_theme.rb annotate models 2017-08-16 10:38:11 -04:00
color_scheme_color.rb annotate models 2016-02-23 10:33:53 +11:00
color_scheme.rb FIX: Header primary color was too dark in dark mode 2017-10-03 13:01:05 -04:00
custom_emoji.rb Update annotations. 2017-03-22 14:26:53 +08:00
developer.rb missing annotation 2016-08-15 17:59:36 +10:00
digest_email_site_setting.rb FEATURE: More digest email frequency options. Digests can be sent as often as every 30 minutes. 2016-03-02 15:43:47 -05:00
directory_item.rb FIX: user directory didn't update stats of users with no recent activity 2017-08-09 15:57:42 -04:00
discourse_single_sign_on.rb FIX: more cases of case sensitive group membership in sso 2017-08-11 18:09:29 -04:00
discourse_version_check.rb FEATURE: Installed Version link shows GitHub Compare to branch being followed 2016-08-02 06:18:44 -04:00
draft_sequence.rb Improve specs. 2017-09-25 13:49:00 +08:00
draft.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
email_change_request.rb FIX: Don't allow invalid email to be saved. 2016-12-21 17:47:11 +08:00
email_log.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
email_token.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
embeddable_host.rb annotate models 2017-08-16 10:38:11 -04: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 Require dependency otherwise it causes Sidekiq to lock up in development. 2017-09-25 13:48:59 +08:00
facebook_user_info.rb annotate models 2016-10-31 15:02:11 +05:30
github_user_info.rb annotate models 2016-02-23 10:33:53 +11:00
given_daily_like.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
global_setting.rb FIX: Set PG connect_timeout to 5 seconds. 2017-10-17 12:32:41 +08:00
google_user_info.rb annotate models 2016-02-23 10:33:53 +11:00
group_archived_message.rb annotate models 2017-08-16 10:38:11 -04:00
group_custom_field.rb FIX: remove nullable dates post upgrade to Rails 4 2014-08-27 15:19:25 +10:00
group_history.rb FEATURE: Group logs. 2016-12-12 17:29:54 +08:00
group_manager.rb update annotations 2015-09-18 10:41:10 +10:00
group_mention.rb annotate models 2017-08-16 10:38:11 -04:00
group_user.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
group.rb Revert "A safe way to create class variables in a multisite environment." 2017-09-29 11:06:12 -04:00
incoming_domain.rb FIX: If the host can't be extracted don't raise an error 2017-05-04 13:26:37 -04:00
incoming_email.rb FIX: show rejected emails with unrecognized errors (#5026) 2017-08-04 16:20:44 +02:00
incoming_link.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
incoming_links_report.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
incoming_referer.rb FIX: catch specific exception 2014-08-06 10:00:55 +10:00
instagram_user_info.rb annotate models 2016-03-28 15:21:45 +11:00
invite_redeemer.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
invite.rb SECURITY: verify that inviter can invite new user to a topic 2017-10-09 15:59:41 +05:30
invited_group.rb FIX: remove nullable dates post upgrade to Rails 4 2014-08-27 15:19:25 +10:00
like_notification_frequency_site_setting.rb FEATURE: like notification frequency of never 2016-03-06 09:12:59 +11:00
locale_site_setting.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
mailing_list_mode_site_setting.rb Remove daily mailing mode option as it doesn't scale. 2017-05-05 12:21:50 +08:00
muted_user.rb annotate models 2017-08-16 10:38:11 -04:00
new_topic_duration_site_setting.rb fix the build 2015-09-14 10:48:24 +02:00
notification_level_when_replying_site_setting.rb FEATURE: Add normal as a preference for topic subscription state when replying to a topic 2017-04-20 22:33:10 -04:00
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 annotate models 2016-02-23 10:33:53 +11:00
onceoff_log.rb annotate models 2016-05-30 10:45:32 +10:00
optimized_image.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
permalink.rb annotate models 2017-08-16 10:38:11 -04:00
plugin_store_row.rb annotate models 2016-02-23 10:33:53 +11:00
plugin_store.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
post_action_type.rb remove rails-observers 2016-12-22 16:46:53 +11:00
post_action.rb Fix all the errors to get our tests green on Rails 5.1. 2017-09-25 13:48:58 +08:00
post_analyzer.rb FIX: memoization in PostAnalyzer.raw_mentions (#5172) 2017-09-11 20:01:24 +02:00
post_custom_field.rb Update annotations. 2017-10-06 11:13:01 +08:00
post_detail.rb annotate models 2016-02-23 10:33:53 +11:00
post_mover.rb Fix all the errors to get our tests green on Rails 5.1. 2017-09-25 13:48:58 +08:00
post_reply.rb FIX: Update post replies when we move posts. (#4324) 2016-07-13 17:34:21 +02:00
post_revision.rb remove rails-observers 2016-12-22 16:46:53 +11:00
post_search_data.rb annotate models 2017-08-16 10:38:11 -04:00
post_stat.rb annotate models 2017-08-16 10:38:11 -04:00
post_timing.rb Fix all the errors to get our tests green on Rails 5.1. 2017-09-25 13:48:58 +08:00
post_upload.rb Update annotations. 2016-11-24 10:13:03 +08:00
post.rb FEATURE: support regex in rake post:remap (#5201) 2017-10-04 11:47:53 +11:00
previous_replies_site_setting.rb FEATURE: allow users to control how many previous replies they get 2016-02-19 13:57:07 +11:00
queued_post.rb annotate models 2017-08-16 10:38:11 -04:00
quoted_post.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
remote_theme.rb annotate models 2017-08-16 10:38:11 -04:00
report.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
s3_region_site_setting.rb add 'us-east-2' S3 region 2017-07-10 15:36:38 +02:00
scheduler_stat.rb purge scheduler_stats every 1 month instead of 3 2017-04-28 15:05:15 -07:00
screened_email.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
screened_ip_address.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
screened_url.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
search_log.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
single_sign_on_record.rb annotate models 2016-10-31 15:02:11 +05:30
site_setting.rb Only refresh site settings once on initialization. 2017-10-12 14:12:18 +08:00
site.rb Revert plugin js changes (#5139) 2017-09-07 15:15:29 +02:00
slug_setting.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
stylesheet_cache.rb Silence CSS logging in development - it's way too noisy 2017-08-16 10:59:56 -04:00
tag_group_membership.rb annotate models 2017-08-16 10:38:11 -04:00
tag_group.rb annotate models 2017-08-16 10:38:11 -04:00
tag_search_data.rb annotate stuff 2017-08-29 10:48:22 -04:00
tag_user.rb annotate models 2017-08-16 10:38:11 -04:00
tag.rb FEATURE: show tags in search results 2017-08-25 11:52:59 -04:00
theme_field.rb Fix all the errors to get our tests green on Rails 5.1. 2017-09-25 13:48:58 +08:00
theme.rb Fix all the errors to get our tests green on Rails 5.1. 2017-09-25 13:48:58 +08:00
top_lists.rb BUGFIX: show the draft on top page 2014-02-06 11:39:43 +01:00
top_menu_item.rb BUGFIX: proper handling of top_menu_items 2014-02-03 16:08:00 +01:00
top_topic.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
topic_allowed_group.rb update annotations 2014-04-08 17:35:44 +02:00
topic_allowed_user.rb FIX: remove nullable dates post upgrade to Rails 4 2014-08-27 15:19:25 +10:00
topic_converter.rb Fix all the errors to get our tests green on Rails 5.1. 2017-09-25 13:48:58 +08:00
topic_custom_field.rb annotate models 2016-05-30 10:45:32 +10:00
topic_embed.rb FIX: Onebox fails on encoded URL. 2017-09-26 18:34:54 +08:00
topic_featured_users.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09: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 FEATURE: allow specifying s3 config via globals 2017-10-06 16:20:01 +11:00
topic_link.rb Require dependency otherwise it causes Sidekiq to lock up in development. 2017-09-25 13:48:59 +08:00
topic_list.rb Revert "A safe way to create class variables in a multisite environment." 2017-09-29 11:06:12 -04:00
topic_notifier.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
topic_participants_summary.rb FEATURE: primary group class on avatars in topic list 2017-02-20 15:55:10 -05:00
topic_poster.rb FEATURE: primary group class on avatars in topic list 2017-02-20 15:55:10 -05:00
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 annotate models 2017-08-16 10:38:11 -04:00
topic_tag.rb annotate models 2017-08-16 10:38:11 -04:00
topic_timer.rb Fix all the errors to get our tests green on Rails 5.1. 2017-09-25 13:48:58 +08:00
topic_tracking_state.rb Fix all the errors to get our tests green on Rails 5.1. 2017-09-25 13:48:58 +08:00
topic_user.rb make rubocop happy 2017-10-06 16:48:11 +02:00
topic_view_item.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
topic.rb Merge pull request #5226 from tgxworld/allow_user_to_disable_private_messages 2017-10-19 16:46:18 +08:00
translation_override.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
trust_level3_requirements.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
trust_level_setting.rb fix the build 2015-09-14 10:48:24 +02:00
twitter_user_info.rb annotate models 2016-02-23 10:33:53 +11:00
unsubscribe_key.rb annotate models 2017-08-16 10:38:11 -04:00
upload.rb Merge branch 's3_refactor' 2017-10-09 10:27:52 +11:00
user_action.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
user_api_key.rb annotate models 2017-08-16 10:38:11 -04:00
user_archived_message.rb annotate models 2017-08-16 10:38:11 -04:00
user_auth_token_log.rb Update annotations. 2017-03-22 14:26:53 +08:00
user_auth_token.rb annotate models 2017-08-16 10:38:11 -04:00
user_avatar.rb FIX: correctly raise errors when downloads fail 2017-09-28 16:35:43 +10:00
user_badge.rb Fix all the errors to get our tests green on Rails 5.1. 2017-09-25 13:48:58 +08:00
user_badges.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
user_custom_field.rb FIX: remove nullable dates post upgrade to Rails 4 2014-08-27 15:19:25 +10:00
user_email.rb Update annotations. 2017-10-06 11:13:01 +08:00
user_export.rb annotate models 2017-08-16 10:38:11 -04:00
user_field_option.rb annotate models 2017-08-16 10:38:11 -04:00
user_field.rb annotate models 2017-08-16 10:38:11 -04:00
user_history.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
user_open_id.rb annotate models 2016-02-23 10:33:53 +11:00
user_option.rb FEATURE: Allow users to disable new PMs. 2017-10-19 12:32:55 +08:00
user_profile_view.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
user_profile.rb fix the regexp used to valide user's website 2017-08-02 10:19:24 +02:00
user_search_data.rb annotate models 2017-08-16 10:38:11 -04:00
user_search.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
user_stat.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
user_summary.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
user_visit.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
user_warning.rb annotate models 2017-08-16 10:38:11 -04:00
user.rb Don't include suspended_at or suspended_till unless suspended 2017-10-13 12:17:54 -04:00
username_validator.rb FIX: Don't allow invalid email to be saved. 2016-12-21 17:47:11 +08:00
watched_word.rb annotate models 2017-08-16 10:38:11 -04:00
web_hook_event_type.rb FEATURE: Webhook for user creation and approval 2016-09-19 10:12:55 +08:00
web_hook_event.rb annotate models 2017-08-16 10:38:11 -04:00
web_hook.rb annotate models 2017-08-16 10:38:11 -04:00