discourse/spec/models
Sam 766e67ce57 FEATURE: introduce lossy color optimization on resized pngs
This feature ensures optimized images run via pngquant, this results extreme amounts of savings for resized images. Effectively the only impact is that the color palette on small resized images is reduced to 256.

To ensure safety we only apply this optimisation to images smaller than 500k.

This commit also makes a bunch of image specs less fragile.
2019-01-02 17:20:02 +11:00
..
about_spec.rb
admin_dashboard_data_spec.rb FIX: Relative links in translations should work with subfolder 2018-11-08 23:31:05 +00:00
api_key_spec.rb
application_request_spec.rb Fix random build error 2018-11-08 02:51:42 +01:00
badge_spec.rb avoid looking up badge multiple times in spec 2018-10-16 10:42:16 +11:00
badge_type_spec.rb
category_featured_topic_spec.rb
category_group_spec.rb
category_list_spec.rb FEATURE: hide muted categories from /categories list (#6531) 2018-10-26 11:34:39 +11:00
category_spec.rb FIX: Subfolder path is missing in category permalinks after slug update 2018-12-21 09:29:54 +05:30
category_user_spec.rb DEV: Take 2 Queue jobs in tests by default. 2018-05-31 16:23:23 +08:00
child_theme_spec.rb FEATURE: themes and components split 2018-08-24 11:30:00 +10:00
color_scheme_color_spec.rb DEV: Clear `ColorScheme.hex_cache` to avoid leaking state. 2018-10-15 11:16:26 +08:00
color_scheme_spec.rb DEV: Clear `ColorScheme.hex_cache` to avoid leaking state. 2018-10-15 11:16:26 +08:00
developer_spec.rb
digest_email_site_setting_spec.rb
directory_item_spec.rb FIX user directory time period count (#6586) 2018-11-12 15:30:05 +01:00
discourse_single_sign_on_spec.rb SECURITY: correct edge case when SSO provides unvalidated emails 2018-09-11 08:24:02 +10:00
draft_sequence_spec.rb
draft_spec.rb Improvements to user drafts (#6226) 2018-08-02 07:41:27 +10:00
email_change_request_spec.rb
email_log_spec.rb Drop `reply_key`, `skipped` and `skipped_reason` from `email_logs`. 2018-07-30 11:39:28 +08:00
email_token_spec.rb
embeddable_host_spec.rb
emoji_spec.rb
given_daily_like_spec.rb
global_setting_spec.rb
group_history_spec.rb
group_spec.rb Upgrade to FontAwesome 5 (take two) (#6673) 2018-11-26 16:49:57 -05:00
group_user_spec.rb
incoming_link_spec.rb FIX: ignore invalid usernames in incoming link tracker 2018-09-04 12:28:32 +10:00
incoming_links_report_spec.rb FIX: adds support for missing reports from old dashboard (#6624) 2018-11-19 12:20:05 +01:00
invite_redeemer_spec.rb FEATURE: Activate users invited via email when invite is redeemed 2018-12-11 00:09:53 +01:00
invite_spec.rb FEATURE: Activate users invited via email when invite is redeemed 2018-12-11 00:09:53 +01:00
javascript_cache_spec.rb FIX: extracted theme JavaScripts for multisite (#6502) 2018-10-18 17:05:34 +11:00
locale_site_setting_spec.rb
mailing_list_mode_site_setting_spec.rb
notification_spec.rb
optimized_image_spec.rb FEATURE: introduce lossy color optimization on resized pngs 2019-01-02 17:20:02 +11:00
permalink_spec.rb
plugin_store_spec.rb FEATURE: Added method to get multiple values at once from PluginStore. (#6225) 2018-08-01 18:42:40 +02:00
post_action_spec.rb FEATURE: Track how many user flags are agreed/disagreed/ignored 2018-11-01 09:59:50 -04:00
post_action_type_spec.rb
post_analyzer_spec.rb FIX: Don't allow links with no href 2018-03-28 12:32:16 -04:00
post_detail_spec.rb
post_mover_spec.rb DEV: Remove duplicated assertion. 2019-01-02 05:07:58 +08:00
post_reply_key_spec.rb PERF: Move `EmailLog#reply_key` into new `post_reply_keys` table. 2018-07-24 13:51:53 +08:00
post_reply_spec.rb
post_spec.rb FIX: Group mentions missing after post processing. 2018-11-26 12:57:07 +08:00
post_timing_spec.rb
post_upload_spec.rb
queued_post_spec.rb Rename approval web hook event type to queued post 2018-07-26 10:29:38 +05:30
quoted_post_spec.rb FIX: ignore self-quotes from the same post when saving (#6082) 2018-07-10 16:17:28 +08:00
remote_theme_spec.rb FIX/FEATURE: don't blow up when can't reach theme's repo, show problem themes on dashboard 2018-09-17 09:49:53 +10:00
report_spec.rb FEATURE: Add `Top Uploads` report (#6825) 2018-12-28 20:48:54 +01:00
s3_region_site_setting_spec.rb
screened_email_spec.rb
screened_ip_address_spec.rb FIX: error when trying to block an IP address. Return a message when IP address matches an existing screened IP address, including ranges. 2018-03-19 14:34:43 -04:00
screened_url_spec.rb
search_log_spec.rb DEV: Remove the unique_searches column from select query 2018-12-19 02:45:48 +05:30
site_setting_spec.rb Avoid deprecated site setting logging in `SiteSetting.settings_hash`. 2018-11-20 11:59:38 +08:00
site_spec.rb FEATURE: backend support for user-selectable components 2018-08-08 14:46:34 +10:00
skipped_email_log_spec.rb PERF: Split skipped email logs into a seperate table. 2018-07-24 13:14:37 +08:00
stylesheet_cache_spec.rb FIX: correctly keep stylesheet cache entries 2018-09-14 12:54:11 +10:00
tag_group_spec.rb FIX: tags in a 'visible by everyone but usable only by staff' group weren't visible by everyone 2018-05-16 09:48:19 +02:00
tag_spec.rb FEATURE: Add button to delete unused tags (#6587) 2018-11-12 16:24:34 +00:00
tag_user_spec.rb DEV: Take 2 Queue jobs in tests by default. 2018-05-31 16:23:23 +08:00
theme_field_spec.rb FIX: only extract script tags with certain types (#6553) 2018-11-01 16:01:46 -04:00
theme_spec.rb FIX: validate YAML before save to avoid race condition 2018-12-25 15:08:17 +02:00
top_menu_item_spec.rb correct specs 2018-04-26 17:24:16 +10:00
top_topic_spec.rb
topic_allowed_user_spec.rb
topic_converter_spec.rb FIX: user topic and post counts can become negative when staff deletes posts in personal messages 2018-07-04 09:31:16 -04:00
topic_embed_spec.rb FIX: drop title updates through RSS feeds 2018-08-28 16:25:04 +10:00
topic_featured_users_spec.rb DEV: Rails 5.2 upgrade and global gem upgrade 2018-06-07 14:21:33 +10:00
topic_invite_spec.rb
topic_link_click_spec.rb FIX: URLs containing two # would fail to work 2018-12-11 18:03:13 +11:00
topic_link_spec.rb FIX: Do not reset link counts when post is rebaked 2018-12-05 18:54:30 +01:00
topic_list_spec.rb FEATURE: replace PM tags dropdown with a dedicated tags page 2018-03-13 13:06:58 +05:30
topic_participants_summary_spec.rb
topic_posters_summary_spec.rb
topic_spec.rb SECURITY: Require groups to be given when inviting to a restricted category. (#6715) 2018-12-05 16:43:07 +01:00
topic_tag_spec.rb REFACTOR: New spec tests and code improvement 2018-02-22 20:27:02 +05:30
topic_timer_spec.rb Correct flaky spec 2018-08-14 12:43:57 +02:00
topic_tracking_state_spec.rb Enable `Lint/ShadowingOuterLocalVariable` for Rubocop. 2018-09-04 10:16:42 +08:00
topic_user_spec.rb DEV: Enable `Style/SingleLineMethods` and `Style/Semicolon` in Rubocop (#6717) 2018-12-04 11:48:13 +08:00
topic_view_item_spec.rb TEST: TopicViewItem ip logging test 2018-06-12 12:43:56 +10:00
translation_override_spec.rb FIX: Translation overrides for flag types didn't expire cache 2018-03-16 22:10:19 +01:00
trust_level3_requirements_spec.rb Prefer `save!/create!` over `save/create`. 2018-04-25 13:39:45 +08:00
unsubscribe_key_spec.rb
upload_spec.rb PERF: automatic upload size calculation not persisted 2018-12-26 17:19:29 +02:00
user_action_spec.rb DEV: remove all calls to SqlBuilder use DB.build instead 2018-06-20 17:53:49 +10:00
user_api_key_spec.rb
user_archived_message_spec.rb FEATURE: Live updates for user's messages page. 2018-03-06 18:15:21 +08:00
user_auth_token_spec.rb FIX: Do not check for suspicious login when impersonating. (#6534) 2018-11-12 15:34:12 +01:00
user_avatar_spec.rb SECURITY: do not delete avatars uploads when deleting accounts 2018-12-13 16:26:07 +11:00
user_badge.rb
user_email_spec.rb FEATURE: Secondary emails support. 2018-07-16 11:09:49 +08:00
user_export_spec.rb FIX: Clean up stale `UserExport` records daily. 2018-06-05 09:43:40 +08:00
user_history_spec.rb
user_open_id_spec.rb
user_option_spec.rb FEATURE: Option to disable user presence and profile 2018-10-10 17:34:33 -04:00
user_profile_spec.rb uses emoji versions for specs (#6276) 2018-08-16 13:45:30 +02:00
user_profile_view_spec.rb Style fix for test 2018-05-25 15:54:14 +10:00
user_search_spec.rb
user_second_factor_spec.rb FEATURE: Second factor backup 2018-06-28 10:12:32 +02:00
user_spec.rb FIX: clear the site_contact_username setting if the user's staff privileges are revoked 2018-12-14 16:52:44 -05:00
user_stat_spec.rb FIX: do not store key tracking last seen time indefinitely 2018-12-03 08:35:26 +11:00
user_summary_spec.rb FIX: Do not raise error if most liked user is deleted 2018-12-25 01:04:55 +05:30
user_visit_spec.rb
username_validator_spec.rb
watched_word_spec.rb
web_crawler_request_spec.rb FEATURE: control which web crawlers can access using a whitelist or blacklist 2018-03-22 15:41:02 -04:00
web_hook_event_spec.rb
web_hook_spec.rb FEATURE: Track how many user flags are agreed/disagreed/ignored 2018-11-01 09:59:50 -04:00