1
0
mirror of https://github.com/discourse/discourse.git synced 2025-03-08 04:09:53 +00:00

11 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
Andrei Prigorshnev
fcc9d99ba2
DEV: Start renaming cookAsync() function to cook() ()
Some time ago, we introduced the `cookAsync` instead of the existing 
`cook` function, and planned to migrate everything to it. Then after 
migrating, we wanted to raname the function to simply `cook`.

I've checked Core and plugins, and currently we call `cookAsync` everywhere, 
there are no calls to the `cook` function anymore. So we're good 
to proceed with this refactoring.

This PR makes the first step by making current cookAsync and cook functions 
do the same thing. Effectively now the `cook` function becomes an alias 
for the `cookAsync` function.
2023-10-09 20:22:46 +04:00
Jarek Radosz
c75b379d6f
DEV: Future-proof htmlSafe interactions ()
See https://github.com/discourse/discourse-encrypt/pull/282

> `cooked` was an Ember SafeString. The internal storage of the string changed from `.string` to `.__string` at some point between Ember 3.28 and Ember 5. Instead, we can use `toString()` which is guaranteed to work in all situations
2023-09-14 23:04:57 +02:00
David Taylor
c3061d580c
DEV: Remove decorateCookedElement id parameters ()
These are no longer required per https://github.com/discourse/discourse/pull/23543
2023-09-12 16:32:04 +01:00
Discourse Translator Bot
93de8c8daa
Update translations () 2023-09-12 15:27:48 +02:00
Martin Brennan
97a812f022
FIX: Hide core plugins from the admin Plugins list ()
Most of the core plugins were already hidden, this hides
chat, styleguide, and checklist to avoid potential confusion
for end users.

Also removes respond_to? :hide_plugin, since that API has been
in place for a while now.
2023-08-31 10:01:01 +10:00
Discourse Translator Bot
23222aa2d4
Update translations () 2023-08-15 21:24:57 +02:00
Discourse Translator Bot
5b6493ff4b
Update translations () 2023-08-08 15:42:28 +02:00
Jarek Radosz
f9b4cfe67e
DEV: Use async/await in checklist () 2023-08-02 23:24:20 +02:00
Jarek Radosz
7405aae85a
DEV: Remove checklist syntax migrator ()
Added in https://github.com/discourse/discourse-checklist/pull/23

Those who wanted to convert most likely did in the last three years :]
2023-08-02 22:31:56 +02:00
David Taylor
2d4be458a5
FEATURE: Bundle discourse-checklist plugin into core ()
Formerly https://github.com/discourse/discourse-checklist
2023-08-02 10:17:24 +01:00