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 Upgrade: 1.0 2013-10-01 11:16:27 -04:00
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 CSP - extract all other inline JavaScripts (#6528) 2018-10-25 09:52:01 -04:00
admin.js.erb Add support for plugins to declare ES6 in the admin bundle 2015-08-17 15:03:55 -04:00
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 CSP - extract all other inline JavaScripts (#6528) 2018-10-25 09:52:01 -04:00
deprecated.js REFACTOR: Remove requirejs calls 2017-07-05 17:24:27 -04:00
discourse-loader.js DEV: enable no-alert & no-console eslint rules 2018-11-14 23:17:56 +01:00
discourse-objects.js Scaffold for new Wizard - Rails / Ember / Tests 2016-09-22 09:48:58 -04:00
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 Extract inline JS on embedded comments (#6645) 2018-11-22 10:02:58 -05:00
ember_include.js.erb move template compiler into vendor for now 2015-11-25 15:54:54 +11:00
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 Migrate discourse.js to ES6 2016-07-11 12:57:05 -04:00
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 DEV: transpile certain ES6 files without producing a module (#6460) 2018-10-09 09:18:23 +08:00
google-universal-analytics.js.no-module.es6 DEV: transpile certain ES6 files without producing a module (#6460) 2018-10-09 09:18:23 +08:00
main_include_admin.js FEATURE: handle bounced emails 2016-05-02 23:15:32 +02:00
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 FIX: stricter window.opener checks (#6578) 2018-11-13 09:56:31 +11:00
onpopstate-handler.js.no-module.es6 extract inline onpopstate handler on 404 page (#6613) 2018-11-15 13:35:38 -05:00
plugin-third-party.js.erb FEATURE: split JavaScript application bundle, so plugins live in own file 2016-11-15 11:43:13 +11:00
plugin.js.erb FEATURE: split JavaScript application bundle, so plugins live in own file 2016-11-15 11:43:13 +11:00
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 Upgrade to FontAwesome 5 (take two) (#6673) 2018-11-26 16:49:57 -05:00
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 CSP - extract all other inline JavaScripts (#6528) 2018-10-25 09:52:01 -04:00
service-worker.js.erb FEATURE: special offline support restricted to Android only 2018-10-29 16:29:19 +11:00
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 PERF: stop loading handlebars and ember compilers in prod 2015-11-27 11:59:01 +11:00
vendor.js DEV: Remove HTML parser from Tautologistics. (#7344) 2019-04-10 11:21:22 +02:00
wizard-application.js FIX: Wizard didn't load translations correctly 2018-09-05 15:14:09 +02:00
wizard-start.js.no-module.es6 CSP - extract all other inline JavaScripts (#6528) 2018-10-25 09:52:01 -04:00
wizard-vendor.js FEATURE: replaces tag-chooser/tag-group-chooser with select-kit component 2018-02-26 11:42:57 +01:00