discourse/spec/components
David Taylor 9bf522f227
FEATURE: Mixed case tagging (#6454)
- By default, behaviour is not changed: tags are made lowercase upon creation and edit.

- If force_lowercase_tags is disabled, then mixed case tags are allowed.

- Tags must remain case-insensitively unique. This is enforced by ActiveRecord and Postgres.

- A migration is added to provide a `UNIQUE` index on `lower(name)`. Migration includes a safety to correct any current tags that do not meet the criteria.

- A `where_name` scope is added to `models/tag.rb`, to allow easy case-insensitive lookups. This is used instead of `Tag.where(name: "blah")`.

- URLs remain lowercase. Mixed case URLs are functional, but have the lowercase equivalent as the canonical.
2018-10-05 10:23:52 +01:00
..
active_record/connection_adapters DEV: Skip fragile tests for now. 2018-09-04 13:58:09 +08:00
auth Revert "FIX: Don't rate limit admin and staff constraints when matching routes." 2018-09-04 14:27:21 +08:00
common_passwords
concern FIX: ignore and log bad json values for custom fields 2018-09-13 14:26:30 +05:30
email FEATURE: add indication if incoming email attachment was rejected and inform sender about it (#6376) 2018-10-04 22:08:28 +08:00
file_store FIX: Moving upload to tombstone should update modification time. 2018-09-18 10:48:29 +08:00
freedom_patches FIX: async reload of locales could result in missing translations 2018-10-01 17:14:36 +02:00
guardian SECURITY: only allow picking of avatars created by self (#6417) 2018-09-19 22:33:10 -07:00
highlight_js
import
middleware FIX: error in response body to blocked crawlers, showing 500 Internal Server Error with status of 403 2018-09-14 15:40:20 -04:00
migration FIX: Create `BaseDropper` functions in a different schema. 2018-08-23 12:52:21 +08:00
onebox/engine SECURITY: correct local onebox category checks 2018-02-14 10:40:46 +11:00
plugin FEATURE: List, revoke and reconnect associated accounts. Phase 1 (#6099) 2018-07-23 16:51:57 +01:00
rate_limiter Add specs for `RateLimiter::LimitExceeded#description`. 2018-06-19 07:48:03 +08:00
scheduler REFACTOR: extract scheduler to the mini_scheduler gem 2018-07-31 17:12:55 -04:00
sidekiq FIX: queue heartbeats in readonly modes 2018-08-29 12:36:59 +10:00
site_settings FIX: "false" didn't work as locale_default 2018-09-11 13:42:10 +02:00
stylesheet DEV: Test against real `Upload#url` format. 2018-09-14 13:43:33 +08:00
theme_store FEATURE: prototype of local theme directory watcher 2018-03-12 18:36:06 +11:00
validators UX: Improve error messages for minimum and maximum username lengths. 2018-10-02 13:10:20 +08:00
wizard FEATURE: backend support for user-selectable components 2018-08-08 14:46:34 +10:00
admin_confirmation_spec.rb
admin_user_index_query_spec.rb Improve specs to assert for the right record instead of just a count. 2018-05-17 08:47:24 +08:00
archetype_spec.rb
avatar_lookup_spec.rb UX: show full name on /latest page 2018-08-23 14:41:06 +05:30
cache_spec.rb dashboard next: caching, mobile support and new charts 2018-05-03 15:41:41 +02:00
category_badge_spec.rb SECURITY: category badges should HTML escape names 2018-06-28 18:15:07 +10:00
composer_messages_finder_spec.rb Remove unused variable. 2018-10-04 13:21:37 +08:00
content_buffer_spec.rb
cooked_post_processor_spec.rb FEATURE: add support for responsive images in posts 2018-10-03 13:44:53 +10:00
crawler_detection_spec.rb FIX: cubot android devices were detected as crawlers 2018-06-21 10:56:46 +10:00
current_user_spec.rb
directory_helper_spec.rb
discourse_diff_spec.rb correct spec regression 2018-01-30 08:54:37 +11:00
discourse_event_spec.rb
discourse_hub_spec.rb
discourse_i18n_spec.rb FIX: async reload of locales could result in missing translations 2018-10-01 17:14:36 +02:00
discourse_plugin_registry_spec.rb REFACTOR: Serve auth provider information in the site serializer. 2018-08-06 09:25:48 +01:00
discourse_plugin_spec.rb
discourse_redis_spec.rb DEV: Stablize DiscourseRedis tests. 2018-05-30 14:45:19 +08:00
discourse_spec.rb REFACTOR: Serve auth provider information in the site serializer. 2018-08-06 09:25:48 +01:00
discourse_tagging_spec.rb FEATURE: Mixed case tagging (#6454) 2018-10-05 10:23:52 +01: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 FIX: support Arrays with Marshal dump in distributed cache 2018-08-08 16:44:56 +10:00
distributed_memoizer_spec.rb
distributed_mutex_spec.rb FIX: in redis readonly raise an exception from DistributedMutex 2018-09-19 15:50:58 +10:00
email_cook_spec.rb FEATURE: convert plain text emails to markdown 2017-12-06 01:47:51 +01:00
email_updater_spec.rb
enum_spec.rb
excerpt_parser_spec.rb FIX: Calculation of text length for <details> in excerpt was wrong 2018-03-12 16:55:23 +01:00
fallback_locale_list_spec.rb FEATURE: Allow plugins to register a new locale 2018-01-25 14:57:41 +01: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 Include response body when raising an error in `FileHelper#download`. 2018-09-13 15:43:58 +08:00
filter_best_posts_spec.rb
final_destination_spec.rb FIX: Ignore OneBox blacklisted domains. 2018-08-27 20:40:55 +02:00
flag_query_spec.rb FEATURE: New site setting `min_flags_staff_visibility` 2018-05-07 16:05:13 -04:00
flag_settings_spec.rb Refactor flag types for more customization 2017-10-19 13:55:23 -04:00
gaps_spec.rb
global_path_spec.rb
guardian_spec.rb FEATURE: do not allow moderators to export user list (#6418) 2018-09-21 09:07:13 +08:00
has_errors_spec.rb
hijack_spec.rb correct spec 2018-09-17 11:37:01 +10:00
html_prettify_spec.rb
html_to_markdown_spec.rb FIX: handle <pre> inside <blockquote> in html_to_markdown 2018-02-26 23:28:02 +01:00
image_sizer_spec.rb
inline_oneboxer_spec.rb FIX: don't double request when downloading a file 2018-02-24 12:35:57 +01:00
js_locale_helper_spec.rb FEATURE: Allow plugins to register a new locale 2018-01-25 14:57:41 +01:00
json_error_spec.rb
letter_avatar_spec.rb
method_profiler_spec.rb FIX: stop double counting net calls in logs 2018-02-28 10:45:11 +11:00
new_post_manager_spec.rb FEATURE: per-category approval settings (#5778) 2018-07-13 12:51:08 +10:00
new_post_result_spec.rb
oneboxer_spec.rb FIX: do not treat ignore_redirects domains as blacklisted 2018-09-18 10:38:02 +05:30
onpdiff_spec.rb
pbkdf2_spec.rb
pinned_check_spec.rb
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
post_creator_spec.rb Always link post to uploads in post process. 2018-09-06 14:08:03 +08:00
post_destroyer_spec.rb FIX: Generate webhook payloads before destroy events (#6325) 2018-10-05 16:53:59 +08:00
post_enqueuer_spec.rb
post_locker_spec.rb FEATURE: Staff members can lock posts 2018-01-26 14:01:30 -05:00
post_merger_spec.rb
post_revisor_spec.rb FEATURE: per-category approval settings (#5778) 2018-07-13 12:51:08 +10:00
pretty_text_spec.rb FIX: Incorrect/missing extension in short_url fails to map to upload. 2018-09-05 21:48:58 +08:00
promotion_spec.rb FIX: do not send tl1 welcome message when a user has the basic user badge 2018-09-19 12:53:36 -07:00
quote_comparer_spec.rb FEATURE: Add `quote-modified` class if a quote has been modified 2018-03-13 13:41:06 -04:00
rate_limiter_spec.rb Add guard for `nil` in our `RateLimiter`. 2018-03-01 13:20:42 +08:00
redis_store_spec.rb
retrieve_title_spec.rb PERF: ability to crawl for titles without extra HEAD req 2018-01-29 15:40:12 +11:00
rtl_spec.rb
s3_helper_spec.rb FEATURE: Add SiteSetting for s3_configure_tombstone_policy 2018-09-17 10:57:50 +10:00
score_calculator_spec.rb remove uneeded specs 2018-07-05 15:34:58 +10:00
search_spec.rb FEATURE: Mixed case tagging (#6454) 2018-10-05 10:23:52 +01:00
secure_session_spec.rb
site_setting_extension_spec.rb FIX: Don't rely on setting data type read from database 2018-07-25 11:40:59 +02:00
slug_spec.rb FIX: strip emoji string from slug 2018-04-18 11:32:32 +05:30
spam_handler_spec.rb
stats_socket_spec.rb
suggested_topics_builder_spec.rb
system_message_spec.rb
text_cleaner_spec.rb FIX: strip zero width spaces from topic title 2018-02-21 00:12:39 +05:30
text_sentinel_spec.rb rename 'min_private_message_{post/title}_length' to 'min_personal_message_{post/title}_length' 2018-02-01 13:25:29 +05:30
theme_settings_manager_spec.rb FEATURE: backend support for user-selectable components 2018-08-08 14:46:34 +10:00
theme_settings_parser_spec.rb FEATURE: introduces list/compact_list components 2018-08-03 16:41:37 -04:00
timeline_lookup_spec.rb PERF: Don't pluck all the columns just to retrieve a single value. 2018-06-27 11:41:35 +08:00
topic_creator_spec.rb correct specs 2018-08-27 14:50:56 +10:00
topic_publisher_spec.rb FIX: Update `last_version_at` when publishing 2018-03-26 16:06:20 -04:00
topic_query_spec.rb FEATURE: Mixed case tagging (#6454) 2018-10-05 10:23:52 +01:00
topic_retriever_spec.rb
topic_view_spec.rb FIX: links in rss feeds are sometimes wrong on subfolder installs 2018-08-27 18:05:15 -04:00
topics_bulk_action_spec.rb
trashable_spec.rb
trust_level_spec.rb
unread_spec.rb
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 FIX: don't raise an error on integer usernames 2018-09-10 22:17:56 +05:30
version_spec.rb