This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/spec
Sam a1332a906b 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:15:16 +11:00
..
components FIX: remove slow platform detection from server side 2018-12-13 16:15:16 +11:00
fabricators Add missing fields to Upload Fabricator (#6448) 2018-10-04 22:00:07 +08:00
fixtures FEATURE: If PM email bounced for staged user then alert in whisper reply (#6648) 2018-11-27 00:29:37 +05:30
helpers extract inline JS that's used to store preloaded data (#6370) 2018-09-17 16:31:46 +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 Upgrade to FontAwesome 5 (take two) (#6673) 2018-11-26 16:49:57 -05:00
lib Upgrade to FontAwesome 5 (take two) (#6673) 2018-11-26 16:49:57 -05: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-06 15:05:34 +01:00
multisite FEATURE: Multisite support for S3 image stores (#6689) 2018-11-29 12:11:48 +08:00
requests SECURITY: Require groups to be given when inviting to a restricted category. (#6715) 2018-12-06 15:05:34 +01:00
serializers FIX: Do not serialize user fields unless they are specified for display (#6736) 2018-12-07 11:00:47 +00:00
services FIX: Notify only invited users about mentions in PMs 2018-11-26 22:42:56 +01: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 REFACTOR: use tables instead of custom fields for polls (#6359) 2018-11-19 14:50:00 +01:00