13 Commits

Author SHA1 Message Date
David Taylor
48193767bf DEV: Sort imports
Automatically generated by `eslint --fix` to satisfy the updated configuration
2023-10-10 21:46:54 +01:00
Jarek Radosz
5538b8442e
DEV: Introduce discourseLater ()
A wrapper for `later()` from `@ember/runloop`, similar to `discourseDebounce`. It automatically reduces the delay in testing environment.
2022-07-17 00:50:49 +02:00
Natalie Tay
dd3ed27930
DEV: Allow utility class domFromString to take in strings with multiple top level elements ()
Previously only `<div>one top element</div>` was allowed because we use `firstChild` instead of `children`.
We also want `<div>one</div><div>two</div>` to work with this method.
2022-01-12 19:49:24 +08:00
Joffrey JAFFEUX
cb976ac562
DEV: creates domFromString utility function () 2021-12-17 09:25:34 +01:00
Joffrey JAFFEUX
76a9ca99a8
DEV: removes jquery usage from onebox () 2021-10-22 13:15:46 +02:00
Jarek Radosz
e06a206131
DEV: Remove cache option from ajax() ()
1. It defaults to `cache: true` already
2. Setting it to `false` for non-GET request doesn't do anything
3. We were correcting `cache: false` GET requests to use `cache: true`

…so setting it to anything at all, for any type of request doesn't make sense (anymore)
2021-05-31 14:41:35 +02:00
Bianca Nenciu
08acf51be0
FEATURE: Use diffhtml to update composer preview ()
Displaying videos, animated GIFs or any kind of rich content in preview
used to refresh on every keystroke, which could cause performance
problems.
2021-02-18 16:07:26 +02:00
Roman Rizzi
bbe5d8d5cf
DEV: Sort imports alphabetically () 2020-12-01 15:31:26 -03:00
Joffrey JAFFEUX
530d9ab071
DEV: enforces eslint’s curly rule to the codebase ()
eslint --fix is capable of fix it automatically for you, ensure prettier is run after eslint as eslint --fix could leave the code in an invalid prettier state.
2020-09-22 16:28:28 +02:00
Joffrey JAFFEUX
52672b9eab
DEV: apply new coding standards () 2020-09-04 13:42:47 +02:00
Krzysztof Kotlarek
e0d9232259
FIX: use allowlist and blocklist terminology ()
This is a PR of the renaming whitelist to allowlist and blacklist to the blocklist.
2020-07-27 10:23:54 +10:00
Joffrey JAFFEUX
00a038d646
REFACTOR: removes various assignments and superfluous params () 2020-05-08 09:19:48 +02:00
Robin Ward
79c64eaeff
DEV: Move pretty-text into an ember-addon format () 2020-05-07 12:37:47 -04:00