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/discourse/tests/helpers
Martin Brennan 54a518b21d
FIX: Quoting local dates bbcode regeneration (#17141)
This commit allows quoting of discourse-local-date elements
and converts the quoted tags back into bbcode so that the
rendered quote will also render the discourse-local-date HTML.
This works on single dates as well as date ranges, and supports
all of the options used by discourse-local-date.

This also necessitated adding addTextDecorateCallback to the
to-markdown core lib (similar to addBlockDecorateCallback and
addTagDecorateCallback) to transform the text nodes between
date ranges to remove the -> in the final quote.

c.f. https://meta.discourse.org/t/quotes-that-contain-date-time/101999
2022-06-21 10:07:21 +10:00
..
component-test.js DEV: Add missing service injections (#16223) 2022-03-18 18:38:56 +01:00
create-pretender.js DEV: Fix various frontend warnings (#17122) 2022-06-17 13:45:05 +02:00
create-store.js DEV: Refactor Site creation in tests (#15707) 2022-02-03 10:02:47 +00:00
d-editor-helper.js DEV: Replace deprecated String.prototype.substr() (#16233) 2022-04-01 17:35:17 +02:00
fixture-pretender.js Support for Testem in Ember CLI (#12442) 2021-03-19 09:32:46 -04:00
presence-pretender.js DEV: prevents Firefox ESR tests to crash on ||= (#14758) 2021-10-28 10:55:22 +02:00
qunit-helpers.js FIX: Quoting local dates bbcode regeneration (#17141) 2022-06-21 10:07:21 +10:00
review-pretender.js FEATURE: reason to reject user signup (#11700) 2021-01-15 09:43:26 +11:00
select-kit-helper.js DEV: Remove jQuery global usage where possible (#14905) 2021-11-12 19:23:20 +01:00
site-settings.js DEV: Drop enable_long_polling and long_polling_interval settings (#16323) 2022-03-30 16:32:40 +08:00
site.js DEV: Remove hints of jshint (#14828) 2021-11-08 09:12:37 +08:00
store-pretender.js REFACTOR: Move javascript tests inside discourse app 2020-10-02 11:29:36 -04:00
textarea-selection-helper.js REFACTOR: Move javascript tests inside discourse app 2020-10-02 11:29:36 -04:00
widget-test.js FIX: Lots of plugin tests were using old, non-Ember compat CLI APIs (#13320) 2021-06-09 10:58:55 -04:00