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
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
..
acceptance FEATURE: Expand messages filter links when viewing private messages. (#17106) 2022-06-20 11:43:01 +08:00
fixtures DEV: Remove reply_as_private_message from composer (#16979) 2022-06-06 15:10:34 -05:00
helpers FIX: Quoting local dates bbcode regeneration (#17141) 2022-06-21 10:07:21 +10:00
integration DEV: Fix typos "formated" -> "formatted" (#17156) 2022-06-20 20:02:05 +02:00
unit DEV: Rename translatedtitle to translatedTitle (#17160) 2022-06-20 12:28:05 -06:00
active-plugins.js.erb DEV: Support for running theme test with Ember CLI (third attempt) 2022-01-13 16:02:07 -05:00
core-tests.js DEV: Support for running theme test with Ember CLI (third attempt) 2022-01-13 16:02:07 -05:00
index.html DEV: Defer loading core/plugin/theme JS files (#17063) 2022-06-20 09:47:37 +08:00
plugin-tests.js.erb DEV: Support for running theme test with Ember CLI (third attempt) 2022-01-13 16:02:07 -05:00
setup-tests.js DEV: Remove old deprecations (#14906) 2022-06-12 21:28:20 +02:00
test_starter.js DEV: Defer loading core/plugin/theme JS files (#17063) 2022-06-20 09:47:37 +08:00
test-boot-ember-cli.js DEV: Support qunit_disable_auto_start in ember CLI (#16358) 2022-04-02 21:15:50 +02:00
test-helpers-rails.js DEV: Support for running theme test with Ember CLI (third attempt) 2022-01-13 16:02:07 -05:00