discourse/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-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
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
embed-application.js Last ES6 files in our app/assets/javascripts 2020-03-25 12:30:20 -04:00
ember_include.js.erb
ember_jquery.js
ember-shim.js DEV: Deprecate ember module imports (#9011) 2020-02-21 15:56:49 +01:00
env.js
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
service-worker.js.erb FIX: Bypass serviceworker cache for auth routes 2020-03-31 14:24:02 -03:00
set-prototype-polyfill.js
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