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/assets/javascripts
Sam Saffron ce4b5b56e5
FIX: never save draft while it is saving
Previously if saving a draft took longer than 2 seconds there
could be conditions where drafts could be saved concurrently.
This meant the composer could race with itself and raise conflicts.

This is likely to happen on bad internet connections or where
latency is really high.

Additionally a throttle was added so drafts save unconditionally
every 15 seconds.

Save draft in the model now properly and consistently returns a
promise.
2020-05-14 15:36:18 +10:00
..
admin DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
confirm-new-email Last ES6 files in our app/assets/javascripts 2020-03-25 12:30:20 -04:00
discourse/app FIX: never save draft while it is saving 2020-05-14 15:36:18 +10:00
discourse-common DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
docs Ember Upgrade: 1.0 2013-10-01 11:16:27 -04:00
ember-addons DEV: Remove ember-addons (#9559) 2020-04-28 10:14:49 -04:00
locales REFACTOR: removes various assignments and superfluous params (#9699) 2020-05-08 09:19:48 +02:00
pretty-text DEV: Replace version.js.erb with pre generated file 2020-05-11 15:43:09 -04:00
select-kit DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
wizard DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
activate-account.js Last ES6 files in our app/assets/javascripts 2020-03-25 12:30:20 -04:00
admin.js.erb Add support for plugins to declare ES6 in the admin bundle 2015-08-17 15:03:55 -04:00
app-boot.js DEV: Have app/app export a class not an instance. 2020-05-05 14:54:13 -04:00
application.js DEV: Rename deprecated to the more appropriate app-boot 2020-05-01 15:19:19 -04:00
auto-redirect.js Last ES6 files in our app/assets/javascripts 2020-03-25 12:30:20 -04:00
browser-detect.js Improve support for old browsers (#9515) 2020-04-29 21:40:21 +03:00
discourse-loader.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
discourse-objects.js Scaffold for new Wizard - Rails / Ember / Tests 2016-09-22 09:48:58 -04:00
embed-application.js Last ES6 files in our app/assets/javascripts 2020-03-25 12:30:20 -04: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 DEV: Deprecate ember module imports (#9011) 2020-02-21 15:56:49 +01: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 Last ES6 files in our app/assets/javascripts 2020-03-25 12:30:20 -04:00
google-universal-analytics.js Last ES6 files in our app/assets/javascripts 2020-03-25 12:30:20 -04:00
handlebars-shim.js DEV: Remove global Handlebars 2020-05-01 14:12:09 -04:00
main_include_admin.js DEV: Remove ember-addons (#9559) 2020-04-28 10:14:49 -04:00
markdown-it-bundle.js DEV: Move pretty-text into an ember-addon format (#9689) 2020-05-07 12:37:47 -04:00
onpopstate-handler.js More JS files 2020-03-24 16:18:56 -04:00
polyfills.js FEATURE: More improvements to crawler and old browsers view 2020-04-30 12:07:51 +03:00
preload-application-data.js DEV: Move preload-store to discourse/lib/preload-store 2020-05-06 15:28:06 -04:00
pretty-text-bundle.js DEV: Remove INLINE_ONEBOX_* constants 2020-05-07 16:14:38 -04:00
print-page.js CSP - extract all other inline JavaScripts (#6528) 2018-10-25 09:52:01 -04:00
service-worker.js.erb FIX: Bypass serviceworker cache for auth routes 2020-03-31 14:24:02 -03: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 DEV: Support for import Handlebars from 'handlebars'; (#9600) 2020-04-30 16:41:02 -04:00
vendor.js FIX: remove word boundary regex (\b) for search result highlights. (#9338) 2020-04-15 11:11:00 +05:30
wizard-application.js DEV: Make discourse-common an Ember addon. (#9578) 2020-04-29 12:18:21 -04:00
wizard-start.js Rename more es6 files to js 2020-03-24 16:32:56 -04:00
wizard-vendor.js FIX: ensure s2 is working with wizard (#8886) 2020-02-07 10:00:39 +01:00