discourse/app/models
Sam Saffron 30990006a9 DEV: enable frozen string literal on all files
This reduces chances of errors where consumers of strings mutate inputs
and reduces memory usage of the app.

Test suite passes now, but there may be some stuff left, so we will run
a few sites on a branch prior to merging
2019-05-13 09:31:32 +08:00
..
concerns DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
reports DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
about.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
admin_dashboard_data.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
admin_dashboard_general_data.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
admin_dashboard_index_data.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
api_key.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
application_request.rb FEATURE: control which web crawlers can access using a whitelist or blacklist 2018-03-22 15:41:02 -04:00
auto_track_duration_site_setting.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
backup_file.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
backup_location_site_setting.rb DEV: Enable Style/SingleLineMethods and Style/Semicolon in Rubocop (#6717) 2018-12-04 11:48:13 +08:00
badge_grouping.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
badge_type.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
badge.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
category_and_topic_lists.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
category_custom_field.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
category_featured_topic.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
category_group.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
category_list.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
category_page_style.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
category_search_data.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
category_tag_group.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
category_tag_stat.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
category_tag.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
category_user.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
category.rb DEV: introduce new API to look up dynamic site setting 2019-05-07 11:00:30 +10:00
child_theme.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
color_scheme_color.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
color_scheme.rb FIX: Remove default val for colors step if a default theme has been set. 2019-05-09 17:25:09 +08:00
custom_emoji.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
developer.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
digest_email_site_setting.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
directory_item.rb FIX user directory time period count (#6586) 2018-11-12 15:30:05 +01:00
discourse_single_sign_on.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
discourse_version_check.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
draft_sequence.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
draft.rb FIX: Previous annotations were broken 2019-01-11 14:30:19 -05:00
email_change_request.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
email_level_site_setting.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
email_log.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
email_token.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
embeddable_host.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
embedding.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
emoji_set_site_setting.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
emoji.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
github_user_info.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
given_daily_like.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
global_setting.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
group_archived_message.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
group_custom_field.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
group_history.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
group_manager.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
group_mention.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
group_request.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
group_user.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
group.rb DEV: Add support for Rails 6 2019-05-02 16:23:25 +10:00
ignored_user.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
incoming_domain.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
incoming_email.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
incoming_link.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
incoming_links_report.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
incoming_referer.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
instagram_user_info.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
invite_redeemer.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
invite.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
invited_group.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
javascript_cache.rb DEV: annotate models 2019-05-03 08:34:12 +10:00
like_notification_frequency_site_setting.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
locale_site_setting.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
mailing_list_mode_site_setting.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
muted_user.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
new_topic_duration_site_setting.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
notification_level_when_replying_site_setting.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
notification.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
oauth2_user_info.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
onceoff_log.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
optimized_image.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
permalink.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
plugin_store_row.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
plugin_store.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
post_action_type.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
post_action.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
post_analyzer.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
post_custom_field.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
post_detail.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
post_mover.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
post_reply_key.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
post_reply.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
post_revision.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
post_search_data.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
post_stat.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
post_timing.rb FIX: Use PostgreSQL 'ON CONFLICT' to deal with race condition 2019-04-29 16:34:42 -03:00
post_upload.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
post.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
previous_replies_site_setting.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
push_subscription.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
quoted_post.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
remote_theme.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
report.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
reviewable_claimed_topic.rb FEATURE: Claim Reviewables by Topic 2019-05-09 13:40:36 -04:00
reviewable_flagged_post.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
reviewable_history.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
reviewable_queued_post.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
reviewable_score.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
reviewable_user.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
reviewable.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
s3_region_site_setting.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
screened_email.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
screened_ip_address.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
screened_url.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
search_log.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
shared_draft.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
single_sign_on_record.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
site_setting.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
site.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
skipped_email_log.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
slug_setting.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
stylesheet_cache.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
tag_group_membership.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
tag_group_permission.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
tag_group.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
tag_search_data.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
tag_user.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
tag.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
theme_field.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
theme_setting.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
theme_translation_override.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
theme.rb FIX: Correctly clear theme stylesheet cache when changing color scheme 2019-05-08 16:02:55 +01:00
top_lists.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
top_menu_item.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
top_topic.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_allowed_group.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_allowed_user.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_converter.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_custom_field.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_embed.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_featured_users.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_invite.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_link_click.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_link.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_list.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_notifier.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_participants_summary.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_poster.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_posters_summary.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_search_data.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_tag.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_timer.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_tracking_state.rb PERF: Speed up home page unread+new query 2019-04-05 15:25:19 +11:00
topic_user.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_view_item.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
translation_override.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
trust_level_and_staff_setting.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
trust_level_setting.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
trust_level3_requirements.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
unsubscribe_key.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
upload.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_action.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_api_key.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_archived_message.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_associated_account.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_auth_token_log.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_auth_token.rb PERF: add index on user auth tokens (for user lookups) 2019-04-26 22:38:54 +10:00
user_avatar.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_badge.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_badges.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_custom_field.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_email.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_export.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_field_option.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_field.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_history.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_open_id.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_option.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_profile_view.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_profile.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_search_data.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_search.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_second_factor.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_stat.rb make rubocop happy 2019-04-08 17:03:26 +05:30
user_summary.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_upload.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_visit.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_warning.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
username_validator.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
watched_word.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
web_crawler_request.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
web_hook_event_type.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
web_hook_event.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
web_hook.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00