discourse/spec
Sam 94b8ba4f8f FIX: remove slow platform detection from server side
Historically due to https://meta.discourse.org/t/why-is-discourse-so-slow-on-android/8823
we decreased page sizes of both home page and topic page on android by half.

This was done on the server side and as a side effect and caused page sizes on android
to mismatch between Android and non Android.

Unfortunately about a year ago googlebot started pretending it is Android,
this cause Google to start indexing pages as what android would see. So
it saw double the amount of pages in the index as what exists on desktop.
This in turn caused double the amount of indexing work and a large amount
of broken links on long topics.

This fix removes all special behavior which is no longer needed due to
other performance work in Discourse including raw handlebars on home page
and virtual dom on topic pages.

I tested we do not need this on Blu Advance 5.0 it has 1.3 GHZ mediatec mt6580
This phone retails for around $50 USD.

If we decide long term that we want any hacks like this we will shift them
to the client side. It can just hold data in memory without rendering.
2018-12-13 13:57:05 +11:00
..
components FIX: remove slow platform detection from server side 2018-12-13 13:57:05 +11:00
fabricators FIX: URLs containing two # would fail to work 2018-12-11 18:03:13 +11:00
fixtures FEATURE: allow plugins and themes to extend the default CSP (#6704) 2018-11-30 09:51:45 -05:00
helpers FIX: `UserNotificationsHelper#logo_url' to work with S3 based uploads. 2018-12-06 09:39:08 +08:00
import_export FIX: topic and category exporters were only exporting users who created the first post 2018-01-16 12:51:53 -05:00
integration FEATURE: Automatically expire keys if not used for a configurable amount of time. (#6264) 2018-08-20 17:36:14 +02:00
integrity FIX: Relative links in translations should work with subfolder 2018-11-08 23:31:05 +00:00
jobs FIX: invalidating inactive admin emails should mark them as not active 2018-12-12 17:07:49 -05:00
lib FIX: Wizard tries harder to find existing Welcome Topic 2018-12-06 10:27:22 +01:00
mailers FIX: Notifications shouldn't use user locale unless allow_user_locale is enabled 2018-09-05 11:44:28 +02:00
models FIX: URLs containing two # would fail to work 2018-12-11 18:03:13 +11:00
multisite FIX: All multisite upload paths should start with /uploads/default/.. (#6707) 2018-12-03 12:04:14 +08:00
requests FEATURE: add short_site_description setting to be included in title tag on homepage 2018-12-12 11:46:58 +01:00
serializers FIX: Do not serialize user fields unless they are specified for display (#6736) 2018-12-07 10:57:28 +00:00
services REFACTOR: Migrate TwitterAuthenticator to use ManagedAuthenticator (#6739) 2018-12-07 15:39:06 +00:00
support FEATURE: [Experimental] Content Security Policy (#6514) 2018-10-22 13:22:23 -04:00
tasks suppress print output when running specs 2017-10-31 16:06:11 +05:30
views/omniauth_callbacks FEATURE: Use translated name for 'your email has been authenticated by' (#6649) 2018-11-22 19:12:04 +00:00
rails_helper.rb DEV: Run tests with default value for max_consecutive_replies (#6723) 2018-12-04 12:07:27 +00:00