discourse/test/javascripts
Dan Ungureanu cf02c518b9
DEV: Merge category and tag hashtags code paths (#10216)
Category and tag hashtags used to be handled differently even though
most of the code was very similar. This design was the root cause of
multiple issues related to hashtags.

This commit reduces the number of requests (just one and debounced
better), removes the use of CSS classes which marked resolved hashtags,
simplifies a lot of the code as there is a single source of truth and
previous race condition fixes are now useless.

It also includes a very minor security fix which let unauthorized users
to guess hidden tags.
2020-07-13 19:13:17 +03:00
..
acceptance DEV: Merge category and tag hashtags code paths (#10216) 2020-07-13 19:13:17 +03:00
admin DEV: Update ESLint to remove I18n global 2020-05-14 10:18:12 -04:00
components DEV: Remove text-ellipsis component and use CSS line-clamp instead (#10196) 2020-07-09 20:51:43 -04:00
controllers Remove Discourse.SiteSettings from tests (#10193) 2020-07-09 15:54:53 -04:00
ember Retry: Rename all test files from JS -> ES6 2020-03-26 12:25:46 -04:00
fixtures DEV: Use consistent interpolation key format in translations 2020-06-02 19:05:10 +02:00
helpers DEV: Merge category and tag hashtags code paths (#10216) 2020-07-13 19:13:17 +03:00
initializers DEV: Update ESLint to remove I18n global 2020-05-14 10:18:12 -04:00
lib Remove Discourse.SiteSettings from tests (#10193) 2020-07-09 15:54:53 -04:00
mixins Retry: Rename all test files from JS -> ES6 2020-03-26 12:25:46 -04:00
models Remove Discourse.SiteSettings from tests (#10193) 2020-07-09 15:54:53 -04:00
utils Retry: Rename all test files from JS -> ES6 2020-03-26 12:25:46 -04:00
widgets FIX: Do not rerender widget-dropdown on all clicks (#10100) 2020-07-06 17:04:16 +02:00
plugin_tests.js.erb FIX: Allow plugins to provide test directories with transpiled .js 2020-06-16 14:31:01 -04:00
test_helper.js DEV: Move Discourse.getURL and related functions to a module (#9966) 2020-06-03 12:45:26 -04:00