discourse/spec
Sam 1b34a8b48a 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 16:14:37 +11:00
..
components FIX: remove slow platform detection from server side 2018-12-13 16:14:37 +11:00
fabricators uses emoji versions for specs (#6276) 2018-08-16 13:45:30 +02:00
fixtures Replacing default brown category color 2018-08-24 14:18:14 -04:00
helpers FIX: improve support for subfolder S3 CDN 2018-08-22 12:31:13 +10: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 correct regression and add integrity spec for onceoffs 2018-06-20 09:09:31 +10:00
jobs FIX: Onceoff job to fix missing user profile backgrounds. 2018-10-01 18:31:09 +08:00
lib Accept custom AR relation for UploadRecovery. 2018-09-14 10:51:55 +08:00
mailers FIX: Notifications shouldn't use user locale unless allow_user_locale is enabled 2018-09-05 11:44:28 +02:00
models SECURITY: Require groups to be given when inviting to a restricted category. (#6715) 2018-12-07 15:54:53 +08:00
multisite DEV: Attempt to stablize multisite tests. 2018-08-30 17:31:17 +08:00
requests SECURITY: Require groups to be given when inviting to a restricted category. (#6715) 2018-12-07 15:54:53 +08:00
serializers FIX: Do not serialize user fields unless they are specified for display (#6736) 2018-12-07 11:08:59 +00:00
services FIX: don't index urls to local files 2018-09-14 12:31:35 +10:00
support DEV: Assert for 200 response code to avoid changing magic helper in the future. 2018-06-07 16:11:09 +08:00
tasks
views/omniauth_callbacks
rails_helper.rb DEV: Refactor test to not call private method. 2018-08-21 14:29:58 +08:00