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 a34711c23a
FIX: do not save draft while it is loading
When editing a post we were incorrectly saving a draft prior to user typing

This caused a bloat in the amount of drafts saved per user and inconsistency
around behavior of "escape" button.

It also lead to lots of warnings about draft conflicts when copying stuff
between posts.

The code is improved to use promises more appropriately, however further
changes are needed to clean up internals so methods consistently return
promises.

Too many methods in the controller sometimes return a promise and sometimes
an object. Long term the methods will become async and all of this will be
corrected.
2020-03-31 11:49:10 +11:00
..
admin DEV: Enable and fix the 'no-multiple-empty-lines' lint 2020-03-30 14:13:33 -07:00
confirm-new-email Last ES6 files in our app/assets/javascripts 2020-03-25 12:30:20 -04:00
discourse FIX: do not save draft while it is loading 2020-03-31 11:49:10 +11:00
discourse-common Migrate discourse-common from es6 -> js 2020-03-23 15:05:58 -04:00
docs Ember Upgrade: 1.0 2013-10-01 11:16:27 -04:00
ember-addons Migrate ember-addons from ES6 -> JS 2020-03-24 16:11:56 -04:00
locales Run prettier on a couple of files 2020-03-12 14:07:38 -04:00
pretty-text FEATURE: allows multiple custom emoji groups (#9308) 2020-03-30 20:16:10 +02:00
select-kit FIX: ensures mini-tag-chooser display min tags req if no selection (#9303) 2020-03-30 19:34:53 +02:00
wizard DEV: Partial 'block-indentation' linting fixes 2020-03-30 14:13:33 -07: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
application.js FEATURE: Stricter rules for user presence 2020-03-26 17:36:52 +11:00
auto-redirect.js Last ES6 files in our app/assets/javascripts 2020-03-25 12:30:20 -04:00
deprecated.js Run prettier on a couple of files 2020-03-12 14:07:38 -04:00
discourse-loader.js DEV: Add Ember.PromiseProxyMixin to ember modules (#9312) 2020-03-30 11:37:14 -04:00
discourse-objects.js Scaffold for new Wizard - Rails / Ember / Tests 2016-09-22 09:48:58 -04:00
discourse.js Rename more es6 files to js 2020-03-24 16:32:56 -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
main_include_admin.js FEATURE: handle bounced emails 2016-05-02 23:15:32 +02:00
markdown-it-bundle.js REFACTOR: Attach resize controls to images from the markdown pipeline (#8314) 2019-11-12 17:32:37 -03:00
onpopstate-handler.js More JS files 2020-03-24 16:18:56 -04:00
polyfills.js FIX: moves back padStart/padEnd to core polyfills (#8714) 2020-01-14 10:54:39 +01:00
preload-application-data.js Rename more es6 files to js 2020-03-24 16:32:56 -04:00
preload-store.js Rename more es6 files to js 2020-03-24 16:32:56 -04:00
pretty-text-bundle.js DEV: Remove pretty_text import hack & still work server-side (#8266) 2019-10-31 11:54:46 -05:00
print-page.js CSP - extract all other inline JavaScripts (#6528) 2018-10-25 09:52:01 -04:00
service-worker.js.erb DEV: Bump uglifyjs (#7834) 2019-10-09 10:02:49 -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: Remove unsafe-eval from development CSP (#8569) 2019-12-30 12:17:12 +00:00
template_include.js.erb DEV: Remove unsafe-eval from development CSP (#8569) 2019-12-30 12:17:12 +00:00
vendor.js Revert "FIX: word boundary regex (\b) not working in Unicode languages. (#9163)" 2020-03-25 14:34:45 +00:00
wizard-application.js DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06: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