discourse/spec/components
Guo Xiang Tan 6ecf37c482 Improve URL validation to check for a valid host.
Parsing a URL with `URI` is not sufficient as the following cases
are considered valid:

URI.parse("http://https://google.com")
=> #<URI::HTTP http://https//google.com>
2017-12-21 13:50:15 +08:00
..
active_record/connection_adapters Make rubocop happy. 2017-12-04 10:55:31 +08:00
auth improve spec 2017-12-15 11:42:51 +11:00
common_passwords Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
concern FIX: JSON custom fields incorrectly being converted to an array. 2017-11-08 11:17:37 +08:00
email FEATURE: convert plain text emails to markdown 2017-12-06 01:47:51 +01:00
file_store FEATURE: allow specifying s3 config via globals 2017-10-06 16:20:01 +11:00
freedom_patches Fix all the errors to get our tests green on Rails 5.1. 2017-09-25 13:48:58 +08:00
highlight_js Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
import Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
middleware FEATURE: optional default off global per ip rate limiter 2017-12-11 17:52:57 +11:00
onebox/engine FIX: Topic links onebox differently if end in / 2017-11-06 01:41:36 +05:30
plugin Feature: Add service worker registration method to plugin API 2017-11-28 14:01:41 +08:00
scheduler PERF: stop running background work between requests 2017-11-23 15:48:47 +11:00
sidekiq
site_settings FIX: Use a distrbuted cache for site locale. 2017-09-12 19:36:17 +08:00
stylesheet Merge branch 's3_refactor' 2017-10-09 10:27:52 +11:00
validators Improve URL validation to check for a valid host. 2017-12-21 13:50:15 +08:00
wizard Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
admin_confirmation_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
admin_user_index_query_spec.rb correct test that does not work with discobot 2017-12-04 18:20:05 +11:00
archetype_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
avatar_lookup_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
cache_spec.rb Fix all the errors to get our tests green on Rails 5.1. 2017-09-25 13:48:58 +08:00
column_dropper_spec.rb Fix all the errors to get our tests green on Rails 5.1. 2017-09-25 13:48:58 +08:00
composer_messages_finder_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
content_buffer_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
cooked_post_processor_spec.rb FIX: properly handle too large & broken images in posts 2017-11-16 15:45:07 +01:00
crawler_detection_spec.rb FEATURE: flexible crawler detection 2017-09-29 12:31:50 +10:00
current_user_spec.rb
directory_helper_spec.rb
discourse_diff_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
discourse_event_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
discourse_hub_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
discourse_i18n_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
discourse_plugin_registry_spec.rb Feature: Add service worker registration method to plugin API 2017-11-28 14:01:41 +08:00
discourse_plugin_spec.rb
discourse_redis_spec.rb FIX: in readonly mode don't double count pages 2017-10-25 13:19:43 +11:00
discourse_spec.rb FEATURE: allow plugins to easily detect if running in Rack 2017-11-16 08:39:29 +11:00
discourse_updates_spec.rb REFACTOR: Avoid duplicated logic on server and client. 2017-11-21 17:10:04 +08:00
distributed_cache_spec.rb Make PostgreSQL failover work with distributed cache. 2017-10-20 17:15:29 +08:00
distributed_memoizer_spec.rb
distributed_mutex_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
email_cook_spec.rb FEATURE: convert plain text emails to markdown 2017-12-06 01:47:51 +01:00
email_updater_spec.rb FEATURE: the hide_email_address_taken setting works with the change email address form in user preferences 2017-10-04 11:41:25 -04:00
enum_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
feed_element_installer_spec.rb FEATURE: Replace SimpleRSS with Ruby RSS module (#5311) 2017-12-06 10:45:09 +11:00
feed_item_accessor_spec.rb FEATURE: Replace SimpleRSS with Ruby RSS module (#5311) 2017-12-06 10:45:09 +11:00
file_helper_spec.rb FIX: correctly raise errors when downloads fail 2017-09-28 16:35:43 +10:00
filter_best_posts_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
final_destination_spec.rb remove redundent stubs 2017-10-18 12:10:30 +11:00
flag_query_spec.rb Add front end service for staff controls 2017-09-25 12:25:14 -04:00
flag_settings_spec.rb Refactor flag types for more customization 2017-10-19 13:55:23 -04:00
gaps_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
global_path_spec.rb
guardian_spec.rb SECURITY: Any group can be invited into a PM. 2017-12-14 14:57:48 +08:00
has_errors_spec.rb
hijack_spec.rb FIX: handle CORS in hijacked requests 2017-12-07 10:31:04 +11:00
html_normalize_spec.rb FIX: Normalizer wasn't working with attributes without values 2017-11-02 14:11:20 -04:00
html_prettify_spec.rb
html_to_markdown_spec.rb Some more HTML to Markdown fixes (#5046) 2017-08-14 22:13:24 +02:00
image_sizer_spec.rb
inline_oneboxer_spec.rb FEATURE: option to enable inline oneboxes for all domains 2017-08-02 14:27:31 -04:00
js_locale_helper_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
json_error_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
letter_avatar_spec.rb
method_profiler_spec.rb Correctly track hijacked requests 2017-11-28 16:47:20 +11:00
new_post_manager_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
new_post_result_spec.rb
oneboxer_spec.rb
onpdiff_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
pbkdf2_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
pinned_check_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
plain_text_to_markdown_spec.rb FEATURE: convert plain text emails to markdown 2017-12-06 01:47:51 +01:00
post_action_creator_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
post_creator_spec.rb SECURITY: Any group can be invited into a PM. 2017-12-14 14:57:48 +08:00
post_destroyer_spec.rb FIX: be consistent with how first posts in topics are counted. do like DirectoryItem.refresh_period :all 2017-11-10 12:18:25 -05:00
post_enqueuer_spec.rb
post_merger_spec.rb Improve `MessageBus.track_publish` to allow filter by channel. 2017-10-02 11:34:57 +08:00
post_revisor_spec.rb Improve `MessageBus.track_publish` to allow filter by channel. 2017-10-02 11:34:57 +08:00
pretty_text_spec.rb FIX: Don't disable details when below truncate limit 2017-12-20 15:45:00 -05:00
promotion_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
rate_limiter_spec.rb correct spec on Ruby 2.3 2017-12-05 07:04:41 +11:00
redis_store_spec.rb
retrieve_title_spec.rb FIX: Hack our title retriever so that it parses YouTube URLs 2017-09-28 09:30:22 -04:00
rtl_spec.rb
s3_helper_spec.rb FIX: error setting tombstone bucket when set to old version 2017-11-13 15:36:45 +11:00
score_calculator_spec.rb
search_spec.rb FIX: correct issue with search omitting words with multiple dots 2017-12-19 16:04:24 +11:00
secure_session_spec.rb
site_setting_extension_spec.rb FIX: bypass all site setting work for shadowed method 2017-10-27 11:12:44 +11:00
slug_spec.rb Downcase encoded slug by default and more specs 2017-10-26 16:50:29 +08:00
spam_handler_spec.rb
sql_builder_spec.rb Fix all the errors to get our tests green on Rails 5.1. 2017-09-25 13:48:58 +08:00
stats_socket_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
suggested_topics_builder_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
system_message_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
table_migration_helper_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
text_cleaner_spec.rb FIX: Title prettify shoundn't downcase all non-ascii titles 2017-08-08 14:03:24 -03:00
text_sentinel_spec.rb
timeline_lookup_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
topic_creator_spec.rb Revert "FIX: TL0 users' messages to moderators were not being posted when flagging private messages" 2017-10-23 18:17:53 -04:00
topic_query_spec.rb Revert "PERF: Reduce number of topics to filter while querying for unread." 2017-11-20 11:49:09 +08:00
topic_retriever_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
topic_view_spec.rb FIX: only show participants the user can see 2017-09-13 17:14:03 +02:00
topics_bulk_action_spec.rb Use `PostDestroyer` to delete topics when performing bulk operation (#5202) 2017-09-28 14:22:49 +02:00
trashable_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
trust_level_spec.rb
unread_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
url_helper_spec.rb Move escape_uri method to a more suitable place 2017-12-12 20:17:46 +01:00
user_name_suggester_spec.rb
version_spec.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00