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/app
David Taylor d7d4612b2d
FIX: Subfolder sites rewriting URLs to root domain on initial load (#8932)
The `DiscourseLocation.initState` function was accidently renamed in 0431942f (select-kit-2) to `initOptions`. This means that the ember router does not automatically call the function after the router is initialized.

For a long time, we have been calling the `initState` function in the `init` function of discourse-location, which caused an imperceptible URL change to the the root domain, before switching back to the correct subfolder URL when ember called `initState`. This commit removes that call from the initializer, so `initState` is only called once (by ember).

Relevant ember code: https://github.com/emberjs/ember.js/blob/v3.12.2/packages/@ember/-internals/routing/lib/system/router.ts#L695-L699
2020-02-12 09:36:46 +00:00
..
assets FIX: Subfolder sites rewriting URLs to root domain on initial load (#8932) 2020-02-12 09:36:46 +00:00
controllers Improvements to group mentions (#8927) 2020-02-12 10:11:10 +02:00
helpers FIX: Don't use theme colors for digest unsubscribe footer links 2020-02-11 15:52:38 -05:00
jobs FEATURE: Send suspect users to the review queue (#8811) 2020-01-29 15:38:27 -03:00
mailers FIX: Replace deprecated URI.encode, URI.escape, URI.unescape and URI.unencode (#8528) 2019-12-12 12:49:21 +10:00
models DEV: Use .hbr for raw template file extension (#8883) 2020-02-11 13:38:12 -06:00
serializers FIX: tag info misleading message saying it's not restricted 2020-02-05 15:23:39 -05:00
services FIX: Flair icon being removed when updating other profile info 2020-02-07 16:26:33 -07:00
views FIX: Don't use theme colors for digest unsubscribe footer links 2020-02-11 15:52:38 -05:00