discourse/app
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
..
assets rename visible to visibleSiteSettings 2018-12-13 13:00:13 +11:00
controllers FIX: remove slow platform detection from server side 2018-12-13 13:57:05 +11:00
helpers FIX: `UserNotificationsHelper#logo_url' to work with S3 based uploads. 2018-12-06 09:39:08 +08:00
jobs FIX: invalidating inactive admin emails should mark them as not active 2018-12-12 17:07:49 -05:00
mailers DEV: Enable Style/SingleLineMethods and Style/Semicolon in Rubocop (#6717) 2018-12-04 11:48:13 +08:00
models DEV: Improve specs and handle invalid email token 2018-12-11 18:04:10 +01:00
serializers Add groups to current user serializer (#6748) 2018-12-10 16:23:29 +01:00
services REFACTOR: Migrate TwitterAuthenticator to use ManagedAuthenticator (#6739) 2018-12-07 15:39:06 +00:00
views Remove extra apple-touch-icon link in head. 2018-11-29 15:24:52 +08:00