11 Commits

Author SHA1 Message Date
Joffrey JAFFEUX
165a3217c8
Revert "FIX: delay custom section reorder ()" ()
This reverts commit 4fe79ccc790118aa78b01aade53f9f6cb3431d8b.
2023-03-23 11:27:12 +01:00
Krzysztof Kotlarek
4fe79ccc79
FIX: delay custom section reorder ()
Reorder should start after 300ms.
In addition, pointer events should be blocked to not open link after reorder is finished.
2023-03-23 15:05:36 +11:00
David Taylor
392bafcd7e
DEV: Add unique ids to deprecations ()
This will improve the QUnit deprecation summaries introduced via 8c482851454d2a2aead6f072950bdbfae10a46a1
2022-11-16 10:00:39 +00:00
David Taylor
58e59e3579
DEV: Remove all use of Ember/jQuery globals in core () 2022-10-19 17:04:49 +01:00
Isaac Janzen
41028a84ef
DEV: add deprecation notice to isLegacyEmber () 2022-06-21 14:08:12 -05:00
Jarek Radosz
99b2cfe26e
DEV: Disallow Ember global usage ()
…and sprinkle `// eslint-disable-next-line no-undef` throughout the code where is unavoidable for now
2022-03-09 17:54:07 +01:00
Robin Ward
83347ac218
DEV: Sync up more Ember CLI features ()
This is mostly changes to acceptance tests to allow them to run in both
versions of Ember.
2021-01-21 15:55:39 -05:00
Robin Ward
e80332a2bc
REFACTOR: Sync up master with changes for Ember-CLI ()
The more parallel the branches, the easier the transition will be.
2021-01-12 10:13:21 -05:00
Robin Ward
a95826f60c
Remove discourse constants ()
* DEV: `Discourse.baseUri` does not exist

This never could have worked - should have been `Discourse.BaseUri` if
anything.

* DEV: Remove Discourse.Environment

* DEV: Remove `Discourse.disableMissingIconWarning`

* DEV: A bunch more missing environment checks
2020-06-01 16:33:43 -04:00
Robin Ward
3fe5eacd1b DEV: Abstract Ember.testing so our application code doesn't use it 2020-05-29 12:16:58 -04:00
Robin Ward
cbb27241c4
DEV: Make discourse-common an Ember addon. ()
This is to help with the migration to Ember CLI. In the current running
version of Discourse everything should be the same as before, just with
a few extra files that are not used. However, using Ember CLI this can
be installed as an Ember addon.

Co-Authored-By: Jarek Radosz <jradosz@gmail.com>
2020-04-29 12:18:21 -04:00