discourse/app/models
Vikhyat Korrapati 25a080a8e1 Fix HTML tags in topic titles.
We no longer sanitize titles before saving to the database since it
would cause problems like HTML entities showing up when you try to edit
a topic title. It isn't even really necessary since we only render
fancy_title directly and never title.

The escaping logic used here is the same that is used both in lodash and
onebox. See:

1. https://github.com/discourse/onebox/pull/190/files
2. https://github.com/lodash/lodash/blob/2.4.1/dist/lodash.compat.js#L6194
2014-04-18 10:47:00 +05:30
..
admin_dashboard_data.rb Add s3_backup_config_warning 2014-03-17 12:56:59 -07:00
api_key.rb Correct annotations 2014-04-15 15:53:48 +10:00
backup.rb BUGFIX: backup/restore when using multisite 2014-04-07 17:55:38 +02:00
badge_type.rb Remove color_hexcode column from badge_types. 2014-04-17 05:36:29 +05:30
badge.rb Specify dependent: destroy for UserBadges. 2014-03-24 22:39:58 +05:30
category_featured_topic.rb Correct annotations 2014-04-15 15:53:48 +10:00
category_featured_user.rb Correct annotations 2014-04-15 15:53:48 +10:00
category_group.rb Correct annotations 2014-04-15 15:53:48 +10:00
category_list.rb Remove another N+1 query from categories page 2014-03-18 15:24:29 -04:00
category_search_data.rb update annotations 2014-04-08 17:35:44 +02:00
category_user.rb Update annotations 2014-02-07 11:07:52 +11:00
category.rb Correct annotations 2014-04-15 15:53:48 +10:00
digest_email_site_setting.rb Enum site settings can have translatable names in dropdown. Add setting for how often users get digest emails by default: default_digest_email_frequency. 2013-08-23 17:36:25 -04:00
discourse_single_sign_on.rb Correct annotations 2014-04-15 15:53:48 +10:00
discourse_version_check.rb Drop Rails3 support 2014-02-17 19:42:08 +01:00
draft_sequence.rb update annotations 2014-04-08 17:35:44 +02:00
draft.rb Correct annotations 2014-04-15 15:53:48 +10:00
email_log.rb Correct annotations 2014-04-15 15:53:48 +10:00
email_token.rb Correct annotations 2014-04-15 15:53:48 +10:00
error_log.rb filter params correctly from error log 2013-10-13 08:07:45 +11:00
facebook_user_info.rb Correct annotations 2014-04-15 15:53:48 +10:00
github_user_info.rb Correct annotations 2014-04-15 15:53:48 +10:00
global_setting.rb Use ERB when importing conf files into app 2014-02-14 16:14:55 -08:00
group_user.rb Correct annotations 2014-04-15 15:53:48 +10:00
group.rb Correct annotations 2014-04-15 15:53:48 +10:00
incoming_link.rb Correct annotations 2014-04-15 15:53:48 +10:00
incoming_links_report.rb Drop Rails3 support 2014-02-17 19:42:08 +01:00
invite_redeemer.rb Rename nickname to username in the code. Use new hub routes. (Old routes still exist as aliases for old Discourse instances.) 2014-03-12 12:39:36 -04:00
invite.rb Correct annotations 2014-04-15 15:53:48 +10:00
leader_requirements.rb Track how many posts a user reads each day in user_visits 2014-01-27 11:20:19 -05:00
locale_site_setting.rb Enum site settings can have translatable names in dropdown. Add setting for how often users get digest emails by default: default_digest_email_frequency. 2013-08-23 17:36:25 -04:00
min_trust_to_create_topic_setting.rb Add min_trust_to_create_topic setting to require a certain trust level before users can start new topics 2013-09-03 19:12:22 -04:00
notification.rb Create notification when badge is granted. 2014-04-17 01:58:01 +05:30
oauth2_user_info.rb Correct annotations 2014-04-15 15:53:48 +10:00
optimized_image.rb update annotations 2014-04-08 17:35:44 +02:00
plugin_store_row.rb update annotations 2014-04-08 17:35:44 +02:00
plugin_store.rb Add support for arrays to PluginStore 2014-03-10 14:59:59 +01:00
post_action_type.rb Correct annotations 2014-04-15 15:53:48 +10:00
post_action.rb Correct annotations 2014-04-15 15:53:48 +10:00
post_alert_observer.rb FIX: broken specs after new link alerting code 2014-03-18 15:22:53 +11:00
post_analyzer.rb BUGFIX: Don't resolve oneboxes when cooking 2014-03-18 15:22:53 +11:00
post_detail.rb Correct annotations 2014-04-15 15:53:48 +10:00
post_mover.rb Support for choosing a destination category when splitting topics. 2013-10-29 15:30:06 -04:00
post_reply.rb Correct annotations 2014-04-15 15:53:48 +10:00
post_revision.rb Allow changing ownwership of posts by admins 2014-04-08 01:47:42 -07:00
post_search_data.rb update annotations 2014-04-08 17:35:44 +02:00
post_timing.rb update annotations 2014-04-08 17:35:44 +02:00
post_upload.rb update annotations 2014-04-08 17:35:44 +02:00
post.rb Correct annotations 2014-04-15 15:53:48 +10:00
report.rb Rename favorite to starred everywhere 2014-01-10 14:54:19 -05:00
s3_region_site_setting.rb Enum site settings can have translatable names in dropdown. Add setting for how often users get digest emails by default: default_digest_email_frequency. 2013-08-23 17:36:25 -04:00
screened_email.rb Correct annotations 2014-04-15 15:53:48 +10:00
screened_ip_address.rb Correct annotations 2014-04-15 15:53:48 +10:00
screened_url.rb Correct annotations 2014-04-15 15:53:48 +10:00
search_observer.rb Fix locale dependend stemmer for FTS 2013-07-23 03:07:59 +04:00
single_sign_on_record.rb annotations were out of date 2014-03-20 15:35:51 +11:00
site_content_type.rb FEATURE: allow for custom HTML inside the <head> tags 2014-01-02 16:22:04 +01:00
site_content.rb Correct annotations 2014-04-15 15:53:48 +10:00
site_customization.rb Correct annotations 2014-04-15 15:53:48 +10:00
site_setting.rb Correct annotations 2014-04-15 15:53:48 +10:00
site.rb BUGFIX: Don't return child categories if you can't see the parent 2014-02-24 14:52:41 -05: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 update annotations 2014-04-08 17:35:44 +02:00
topic_allowed_group.rb update annotations 2014-04-08 17:35:44 +02:00
topic_allowed_user.rb Correct annotations 2014-04-15 15:53:48 +10:00
topic_embed.rb FEATURE: whitelist and blacklist selectors for embeds 2014-04-15 14:07:30 +10:00
topic_featured_users.rb Drop Rails3 support 2014-02-17 19:42:08 +01:00
topic_invite.rb Correct annotations 2014-04-15 15:53:48 +10:00
topic_link_click.rb Correct annotations 2014-04-15 15:53:48 +10:00
topic_link.rb Correct annotations 2014-04-15 15:53:48 +10:00
topic_list.rb Add previous page link for crawlers 2014-02-25 12:15:48 -05:00
topic_notifier.rb FEATURE: mute/watch/track buttons for private conversations 2014-01-22 17:46:52 +11:00
topic_poster.rb topic_poster.rb: Fix formatting of the attributes return value 2013-03-23 19:09:01 +05:30
topic_posters_summary.rb simplify TopicPostersSummary 2014-02-18 23:53:30 -05:00
topic_status_update.rb FEATURE: allow moderators to globally pin topics 2014-04-07 16:38:51 +10:00
topic_tracking_state.rb BUGFIX: new date was incorrect 2014-03-03 16:11:59 -05:00
topic_user.rb Correct annotations 2014-04-15 15:53:48 +10:00
topic.rb Fix HTML tags in topic titles. 2014-04-18 10:47:00 +05:30
twitter_user_info.rb Correct annotations 2014-04-15 15:53:48 +10:00
upload.rb REFACTOR: use an options hash instead of multiple nil-able parameters 2014-04-15 17:17:10 +02:00
user_action_observer.rb BUGFIX: new users not getting correct error messages 2014-04-04 11:08:54 +11:00
user_action.rb Correct annotations 2014-04-15 15:53:48 +10:00
user_badge.rb annotations were out of date 2014-03-20 15:35:51 +11:00
user_email_observer.rb Drop Rails3 support 2014-02-17 19:42:08 +01:00
user_history.rb Correct annotations 2014-04-15 15:53:48 +10:00
user_open_id.rb Correct annotations 2014-04-15 15:53:48 +10:00
user_search_data.rb update annotations 2014-04-08 17:35:44 +02:00
user_search.rb SiteSetting to hide regular names from users 2013-10-30 15:45:34 -04:00
user_stat.rb annotations were out of date 2014-03-20 15:35:51 +11:00
user_visit.rb Update annotations 2014-02-07 11:07:52 +11:00
user.rb Display badge count in the user admin page. 2014-04-16 18:08:10 +05:30
username_validator.rb [0] is shorter than [0,1] :) 2013-12-17 16:30:25 +01:00
view.rb annotate models 2013-12-05 17:40:35 +11:00