discourse/spec/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_spec.rb Add a warning on dashboard if enforce_global_nicknames is checked, but access key is blank. 2013-11-18 13:45:10 -05:00
api_key_spec.rb
backup_spec.rb FEATURE: Upload backups to S3 when complete. 2014-03-12 16:24:45 -04:00
badge.rb Slightly faster badge system specs. (Shaves off ~100ms) 2014-04-16 18:08:10 +05:30
badge_type.rb Remove color_hexcode column from badge_types. 2014-04-17 05:36:29 +05:30
category_featured_topic_spec.rb
category_featured_user_spec.rb
category_spec.rb FIX: categories with non-ascii names will have broken next page urls 2014-03-24 13:36:23 -04:00
category_user_spec.rb FEATURE: Added UI for adding and removing watched and muted categories 2014-01-02 17:59:08 +11:00
digest_email_site_setting_spec.rb
discourse_single_sign_on_spec.rb FIX: support sso_url that has query params 2014-03-19 17:14:31 -04:00
draft_sequence_spec.rb
draft_spec.rb
email_log_spec.rb Log when and why an email was not sent in email_logs 2014-02-14 13:06:39 -05:00
email_token_spec.rb You can only reuse email tokens within 24 hours. 2014-03-04 14:03:04 -05:00
error_log_spec.rb
global_setting_spec.rb Use ERB when importing conf files into app 2014-02-14 16:14:55 -08:00
group_spec.rb FIX: Pinned topics within a category weren't working without a refresh 2013-11-18 10:52:01 -05:00
incoming_link_spec.rb BUGFIX: Don't blow up on junk referers 2014-02-27 12:03:38 +11:00
incoming_links_report_spec.rb
invite_redeemer_spec.rb Trust Level 3: invited users start at default_invitee_trust_level + 1, unless default_invitee_trust_level is 2 or higher 2014-01-17 11:12:00 -05:00
invite_spec.rb Invite link can't be used to log in after you set a password or sign in with 3rd party 2014-01-21 16:56:41 -05:00
locale_site_setting_spec.rb
notification_spec.rb FIX: broken specs after new link alerting code 2014-03-18 15:22:53 +11:00
optimized_image_spec.rb FEATURE: support email attachments 2014-04-14 22:55:57 +02:00
plugin_store_spec.rb Add support for arrays to PluginStore 2014-03-10 14:59:59 +01:00
post_action_spec.rb If flagging a topic with only one post, flag the post instead 2014-02-18 15:18:31 -05:00
post_alert_observer_spec.rb FIX: broken specs after new link alerting code 2014-03-18 15:22:53 +11:00
post_analyzer_spec.rb FIX: broken specs after new link alerting code 2014-03-18 15:22:53 +11:00
post_detail_spec.rb
post_mover_spec.rb FIX: post_mover_spec needs to order posts 2014-03-19 11:05:18 -04:00
post_reply_spec.rb
post_revision_spec.rb BUGFIX/FEATURE: store topic changes in post revisions 2014-03-07 19:00:36 +11:00
post_spec.rb Change comma-delim site settings to pipe-delim 2014-04-08 14:17:55 -07:00
post_timing_spec.rb
post_upload_spec.rb
report_spec.rb
s3_region_site_setting_spec.rb
screened_email_spec.rb
screened_ip_address_spec.rb FIX: nuke spammer from flags page 2014-02-21 14:14:30 -05:00
screened_url_spec.rb
site_content_spec.rb
site_customization_spec.rb Pass sprockets context and environment to Sass::Engine. 2014-04-08 20:09:11 +05:30
site_setting_spec.rb FEATURE: support email attachments 2014-04-14 22:55:57 +02:00
site_spec.rb BUGFIX: Don't return child categories if you can't see the parent 2014-02-24 14:52:41 -05:00
top_menu_item_spec.rb BUGFIX: proper handling of top_menu_items 2014-02-03 16:08:00 +01:00
top_topic_spec.rb add top page 2013-12-24 00:50:36 +01:00
topic_allowed_user_spec.rb
topic_embed_spec.rb Allow the content_sha1 column of topic_embed to be nullable 2014-04-02 16:18:51 -04:00
topic_invite_spec.rb
topic_link_click_spec.rb FIX: Accept HTTPS or HTTP urls on redirect 2014-01-14 15:02:05 -05:00
topic_link_spec.rb Rename TopicSummary -> TopicMap 2013-11-18 12:08:21 -05:00
topic_posters_summary_spec.rb Extract Topic#posters_summary 2013-05-24 15:33:45 -07:00
topic_spec.rb Fix HTML tags in topic titles. 2014-04-18 10:47:00 +05:30
topic_status_update_spec.rb
topic_tracking_state_spec.rb
topic_user_spec.rb FEATURE: mailing list mode always available 2014-03-05 14:21:53 +11:00
twitter_user_info_spec.rb ensure we have a bigint id 2013-11-22 17:51:36 +11:00
upload_spec.rb FEATURE: support email attachments 2014-04-14 22:55:57 +02:00
user_action_spec.rb FIX: broken specs after new link alerting code 2014-03-18 15:22:53 +11:00
user_badge.rb Slightly faster badge system specs. (Shaves off ~100ms) 2014-04-16 18:08:10 +05:30
user_email_observer_spec.rb
user_history_spec.rb FIX: moderators should not be able to see site setting changes in the staff action logs. Fixes #2027 2014-02-28 16:30:54 -05:00
user_open_id_spec.rb
user_search_spec.rb
user_spec.rb FEATURE: add redirect_users_to_top_page site setting (default to true) 2014-03-31 21:53:38 +02:00
user_stat_spec.rb FEATURE: Add new_since column to UserStat so we can reset the "New" 2014-03-03 15:47:00 -05:00
user_visit_spec.rb
username_validator_spec.rb
view_spec.rb