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 Support for per-user API keys 2013-10-22 17:34:39 -04:00
backup_spec.rb FEATURE: Upload backups to S3 when complete. 2014-03-12 16:24:45 -04:00
badge_type.rb Remove color_hexcode column from badge_types. 2014-04-17 05:36:29 +05:30
badge.rb Slightly faster badge system specs. (Shaves off ~100ms) 2014-04-16 18:08:10 +05:30
category_featured_topic_spec.rb Make the composer and TopicCreator use category id instead of category name 2013-09-17 12:13:19 +02:00
category_featured_user_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
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 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_spec.rb FIX: support sso_url that has query params 2014-03-19 17:14:31 -04:00
draft_sequence_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
draft_spec.rb Updated tests to decrease string repetition 2013-06-25 22:15:41 +08:00
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 Convert a lot of :a => b to a: b and bring peace to the world 2013-03-25 05:07:36 +05:30
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 Remove users column from Top Traffic Sources table on dashboard. It's not useful and very expensive to calculate. 2013-08-02 18:32:33 -04:00
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 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
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 Adding post details in preparation for the API importer code. 2013-10-15 09:21:30 -05:00
post_mover_spec.rb FIX: post_mover_spec needs to order posts 2014-03-19 11:05:18 -04:00
post_reply_spec.rb Initial release of Discourse 2013-02-05 14:16:51 -05:00
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 If a user read to the end of an auto closing topic, when it is closes just pretend they read the close message. 2013-07-04 11:47:12 +10:00
post_upload_spec.rb add proper post_uploads reverse index 2013-06-13 23:44:24 +02:00
report_spec.rb Updated tests to decrease string repetition 2013-06-25 22:15:41 +08:00
s3_region_site_setting_spec.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_spec.rb Add ScreenedUrl. Rename BlockedEmail to ScreenedEmail. 2013-08-14 16:08:23 -04:00
screened_ip_address_spec.rb FIX: nuke spammer from flags page 2014-02-21 14:14:30 -05:00
screened_url_spec.rb Screened Urls page shows results for each domain instead of each url 2013-11-04 16:24:48 -05:00
site_content_spec.rb Can change TOS content via site content editor 2013-04-05 15:21:55 -04:00
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 Initial release of Discourse 2013-02-05 14:16:51 -05:00
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 remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
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 If a user read to the end of an auto closing topic, when it is closes just pretend they read the close message. 2013-07-04 11:47:12 +10:00
topic_tracking_state_spec.rb push some work out of AR callbacks into PostCreator, add a couple of helpers for post and topic creation in test 2013-07-22 15:07:20 +10:00
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 revert non queuing of emails 2013-08-27 11:52:28 +10:00
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 moved comments to the bottom, they are way less intrusive there 2013-05-24 12:48:32 +10:00
user_search_spec.rb SiteSetting to hide regular names from users 2013-10-30 15:45:34 -04:00
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 large refactor, ship a few columns from the user table into user_stats 2013-10-07 15:04:59 +11:00
username_validator_spec.rb Extract the validation of Username format in own class to avoid 2013-02-08 12:54:47 -05:00
view_spec.rb views: convert 'ip' (bigint) -> 'ip_address' (inet) 2013-06-25 19:47:25 -04:00