discourse/spec/models
Matt Palmer c09f345cff Proxy letter avatars by default
On sites that don't otherwise configure an avatar fallback, Discourse will
now tell the client to get its letter avatars from a location which nginx
proxies to the centralised `avatars.discourse.org` service.  This alleviates
privacy concerns, whilst still providing some degree of performance benefit
(no need for every site to delay avatar response by 300ms for image
rendering).

It is still possible to gain the benefits of global image caching and the
lower latency of requesting directly from a CDN, by explicitly changing the
`external_system_avatars_url` site setting to
`https://avatars.discourse.org/letter/{first_letter}/{color}/{size}.png`.
2015-11-06 14:13:44 +11:00
..
about_spec.rb PERF: Cache About#stats. 2015-07-20 22:45:05 +08:00
admin_dashboard_data_spec.rb Clean up the test checks when done 2015-09-01 13:32:35 -07:00
api_key_spec.rb models with rspec3 syntax 2015-01-05 13:04:23 -03:00
application_request_spec.rb Convert specs to RSpec 2.99.2 syntax with Transpec 2015-04-25 11:18:35 -04:00
backup_spec.rb Remove site setting stubbing (Round 1) 2015-06-03 15:44:00 +05:30
badge_spec.rb Update rspec syntax to v3 2015-01-05 11:59:30 -03:00
badge_type.rb Update rspec syntax to v3 2015-01-05 11:59:30 -03:00
category_featured_topic_spec.rb FIX: categories page would sometimes show no topics, even if there are some visible topics to show 2015-09-21 18:13:14 -04:00
category_featured_user_spec.rb Update rspec syntax to v3 2015-01-05 11:59:30 -03:00
category_spec.rb FEATURE: Log staff actions for Category changes. 2015-09-18 10:53:08 +08:00
category_user_spec.rb FIX: ensure we remove 'category_users' records when a user is deleted 2015-09-02 20:43:15 +02:00
color_scheme_color_spec.rb Update rspec syntax to v3 2015-01-05 11:59:30 -03:00
color_scheme_spec.rb PERF: omit 2 queries on every full page load 2015-09-23 16:47:17 +10:00
digest_email_site_setting_spec.rb FIX: couldn't set 'never' for the default email digest frequency setting 2015-09-14 10:36:25 +02:00
digest_unsubscribe_key_spec.rb Migrate unsubscribe keys to the database. 2015-02-13 14:24:15 -05:00
directory_item_spec.rb FIX: youtube preview video title link doesn't work 2015-04-01 18:23:27 +02:00
discourse_single_sign_on_spec.rb Correctly parse require_activation field of SSO 2015-05-21 16:50:54 -05:00
draft_sequence_spec.rb Update rspec syntax to v3 2015-01-05 11:59:30 -03:00
draft_spec.rb FEATURE: track statistics around post creation 2015-08-03 14:29:15 +10:00
email_log_spec.rb Update rspec syntax to v3 2015-01-05 11:59:30 -03:00
email_token_spec.rb FIX: mark user as approved if an invite is already present 2015-06-26 01:57:29 +05:30
embeddable_host_spec.rb FEATURE: Can edit category/host relationships for embedding 2015-08-20 15:56:04 -04:00
global_setting_spec.rb FIX: allow global settings to include keys that have numbers in them 2015-08-14 17:01:21 +10:00
group_spec.rb FEATURE: group can grant a trust level when a user is added 2015-09-01 16:52:12 -04:00
incoming_link_spec.rb Update rspec syntax to v3 2015-01-05 11:59:30 -03:00
incoming_links_report_spec.rb Update rspec syntax to v3 2015-01-05 11:59:30 -03:00
invite_redeemer_spec.rb Update rspec syntax to v3 2015-01-05 11:59:30 -03:00
invite_spec.rb FEATURE: invite page tabs 2015-07-13 09:42:51 +05:30
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 regression in visible notification detection 2015-06-23 06:14:22 +10:00
optimized_image_spec.rb FIX: mixed local s3 store missing avatars 2015-06-01 11:17:42 +10:00
permalink_spec.rb FEATURE: permalink normalization 2015-07-15 15:34:25 +10:00
plugin_store_spec.rb Add support for arrays to PluginStore 2014-03-10 14:59:59 +01:00
post_action_spec.rb FIX: Race condition when wrapping PostCreator#create in a transaction. 2015-10-15 14:42:40 +08:00
post_alert_observer_spec.rb Update rspec syntax to v3 2015-01-05 11:59:30 -03:00
post_analyzer_spec.rb FIX: don't count mentions in oneboxes 2015-06-24 11:44:58 +02:00
post_detail_spec.rb Update rspec syntax to v3 2015-01-05 11:59:30 -03:00
post_mover_spec.rb Update rspec syntax to v3 2015-01-05 11:59:30 -03:00
post_reply_spec.rb Update rspec syntax to v3 2015-01-05 11:59:30 -03:00
post_spec.rb models with rspec3 syntax 2015-01-05 13:04:23 -03:00
post_timing_spec.rb FIX: don't allow storage of post timings batch larger than 60 secs 2015-06-19 10:35:55 +10:00
post_upload_spec.rb Update rspec syntax to v3 2015-01-05 11:59:30 -03:00
queued_post_spec.rb FIX: When approving/rejecting a post it should delete the user action 2015-04-24 15:25:47 -04:00
quoted_post_spec.rb models with rspec3 syntax 2015-01-05 13:04:23 -03:00
report_spec.rb remove some intermittently failing report specs. they aren't worth the cost of maintaining them. 2015-07-06 15:01:43 -04:00
rtl_spec.rb models with rspec3 syntax 2015-01-05 13:04:23 -03:00
s3_region_site_setting_spec.rb FEATURE: generate (avatar) thumbnails in a background task 2015-05-25 17:59:00 +02:00
screened_email_spec.rb models with rspec3 syntax 2015-01-05 13:04:23 -03:00
screened_ip_address_spec.rb FEATURE: add site setting use_admin_ip_whitelist to enable/disable the whitelisting of admins by IP address 2015-09-23 12:15:08 -04:00
screened_url_spec.rb models with rspec3 syntax 2015-01-05 13:04:23 -03:00
search_observer_spec.rb models with rspec3 syntax 2015-01-05 13:04:23 -03:00
site_customization_spec.rb models with rspec3 syntax 2015-01-05 13:04:23 -03:00
site_setting_spec.rb FEATURE: Can edit category/host relationships for embedding 2015-08-20 15:56:04 -04:00
site_spec.rb Correct site spec 2015-09-28 16:50:24 +10:00
site_text_spec.rb models with rspec3 syntax 2015-01-05 13:04:23 -03:00
stylesheet_cache_spec.rb correct emergency regeneration in the controller 2015-05-06 07:33:32 +10:00
top_menu_item_spec.rb fix most deprecations in the specs (still some left) 2014-09-25 17:44:48 +02:00
top_topic_spec.rb Convert specs to RSpec 2.99.2 syntax with Transpec 2015-04-25 11:18:35 -04:00
topic_allowed_user_spec.rb Update rspec syntax to v3 2015-01-05 11:59:30 -03:00
topic_embed_spec.rb FEATURE: Can edit category/host relationships for embedding 2015-08-20 15:56:04 -04:00
topic_featured_users_spec.rb Update rspec syntax to v3 2015-01-05 11:59:30 -03:00
topic_invite_spec.rb Update rspec syntax to v3 2015-01-05 11:59:30 -03:00
topic_link_click_spec.rb FIX: handle link tracking correctly for cdn based urls 2015-08-05 12:15:08 +10:00
topic_link_spec.rb FIX: Allow really long links to work 2015-09-25 14:07:20 -04:00
topic_participants_summary_spec.rb FIX: PM should never be allowed to have a category 2014-09-11 17:39:34 +10:00
topic_posters_summary_spec.rb UX: Don't highlight the latest poster in the topic list if there is only 2014-08-20 12:09:39 -04:00
topic_spec.rb Optimize all_allowed_users query 2015-10-29 19:39:30 +02:00
topic_status_update_spec.rb UX: Use smaller messages for moderator actions. 2015-07-27 10:09:21 -04:00
topic_tracking_state_spec.rb FEATURE: no need to cap new and unread together anymore 2015-10-01 17:17:15 +10:00
topic_user_spec.rb FEATURE: global admin override of most of the user preferences 2015-08-21 20:39:21 +02:00
topic_view_item_spec.rb Update rspec syntax to v3 2015-01-05 11:59:30 -03:00
trust_level3_requirements_spec.rb FEATURE: track user visits on mobile and display on admin dashboard in a new Mobile section 2015-07-07 14:06:42 -04:00
twitter_user_info_spec.rb Update rspec syntax to v3 2015-01-05 11:59:30 -03:00
upload_spec.rb FIX: crop & optimize user background profile/card images 2015-07-15 17:15:43 +02:00
user_action_spec.rb FEATURE: remove star concept from Discourse 2015-01-07 13:43:27 +11:00
user_avatar_spec.rb Update rspec syntax to v3 2015-01-05 11:59:30 -03:00
user_badge.rb Convert specs to RSpec 2.99.2 syntax with Transpec 2015-04-25 11:18:35 -04:00
user_email_observer_spec.rb FEATURE: upgrade to Rails 4.2.4 2015-09-23 15:24:30 +10:00
user_history_spec.rb Update rspec syntax to v3 2015-01-05 11:59:30 -03:00
user_open_id_spec.rb Update rspec syntax to v3 2015-01-05 11:59:30 -03:00
user_profile_spec.rb Update rspec syntax to v3 2015-01-05 11:59:30 -03:00
user_profile_view_spec.rb FEATURE: Track user profile views. 2015-09-16 14:48:31 +08:00
user_search_spec.rb PERF: refactor user search so works more efficiently 2015-05-14 14:38:47 +10:00
user_spec.rb Proxy letter avatars by default 2015-11-06 14:13:44 +11:00
user_stat_spec.rb Update rspec syntax to v3 2015-01-05 11:59:30 -03:00
user_visit_spec.rb Update rspec syntax to v3 2015-01-05 11:59:30 -03:00
username_validator_spec.rb Extract the validation of Username format in own class to avoid 2013-02-08 12:54:47 -05:00