discourse/app/assets/javascripts
Robin Ward 02f6db4e59 FIX: Back button shenanigans when redirecting from index routes
This is a problem that has long plagued Discourse. The root issue here
is that we have to implement our own link click handler, because
Discourse allows users to create HTML blobs of content with links, and
when those links are clicked they must be handled by the Ember router.

This always involved a certain amount of use of private Ember APIs which
of course evolved over time.

The API has more or less stabilized in the last two years, however we
have hacks in our URLs to handle a dynamic root path, depending on how
forums have set up their filters and in what order.

This patch adds a special case for the root path so we needn't update
the URL ourselves otherwise, which preserves the back button on index
routes. The update call would otherwise insert an extra history event if
a route redirected on transition, breaking the back button.
2019-06-21 14:42:01 -04:00
..
admin FEATURE: Add endpoint to individually update a theme setting (#7789) 2019-06-21 13:49:14 -04:00
discourse FIX: Back button shenanigans when redirecting from index routes 2019-06-21 14:42:01 -04:00
discourse-common Update theme component URL 2019-06-04 10:04:27 -04:00
docs
ember-addons DEV: unpin Prettier version, apply to YAML files 2019-01-17 13:05:39 -05:00
locales FIX: Handle missing plural keys on client 2019-06-07 10:24:17 +02:00
pretty-text FEATURE: Add base62 sha1 to cooked data attribute 2019-06-11 11:15:45 +10:00
select-kit DEV: should check on object and not length (#7742) 2019-06-11 09:45:45 +02:00
wizard Update UI for wizard themes further reading step (#7669) 2019-06-03 10:47:17 -04:00
activate-account.js.no-module.es6
admin.js.erb
application.js SECURITY: updates lodash from 1.3.0 to 4.17.5 (#7546) 2019-05-16 10:34:19 +02:00
auto-redirect.js.no-module.es6
deprecated.js
discourse-loader.js
discourse-objects.js
discourse.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
embed-application.js.no-module.es6
ember_include.js.erb
ember_jquery.js DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
ember-shim.js
env.js FIX: attempts to fix an error with EXTEND_PROTOTYPES (#7067) 2019-02-26 11:04:05 +01:00
google-tag-manager.js.no-module.es6
google-universal-analytics.js.no-module.es6
main_include_admin.js
markdown-it-bundle.js FEATURE: Support [description|attachment](upload://<short-sha>) in MD take 2. 2019-05-29 09:26:32 +08:00
omniauth-complete.js.no-module.es6
onpopstate-handler.js.no-module.es6
plugin-third-party.js.erb
plugin.js.erb
polyfills.js DEV: adds polyfill to fully support DOMTokenList in IE (#7765) 2019-06-21 09:59:28 +02:00
preload-application-data.js.no-module.es6
preload-store.js.es6 DEV: s/Em/Ember (#6874) 2019-01-11 17:54:23 +01:00
pretty-text-bundle.js FIX: Composer preview not caching inline onebox. 2019-06-11 09:14:53 +08:00
print-page.js
service-worker.js.erb
set-prototype-polyfill.js DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
template_include.js.erb
vendor.js DEV: Remove HTML parser from Tautologistics. (#7344) 2019-04-10 11:21:22 +02:00
wizard-application.js
wizard-start.js.no-module.es6
wizard-vendor.js