discourse/app/assets/javascripts
Martin Brennan 222c8d9b6a
FEATURE: Polymorphic bookmarks pt. 3 (reminders, imports, exports, refactors) (#16591)
A bit of a mixed bag, this addresses several edge areas of bookmarks and makes them compatible with polymorphic bookmarks (hidden behind the `use_polymorphic_bookmarks` site setting). The main ones are:

* ExportUserArchive compatibility
* SyncTopicUserBookmarked job compatibility
* Sending different notifications for the bookmark reminders based on the bookmarkable type
* Import scripts compatibility
* BookmarkReminderNotificationHandler compatibility

This PR also refactors the `register_bookmarkable` API so it accepts a class descended from a `BaseBookmarkable` class instead. This was done because we kept having to add more and more lambdas/properties inline and it was very messy, so a factory pattern is cleaner. The classes can be tested independently as well.

Some later PRs will address some other areas like the discourse narrative bot, advanced search, reports, and the .ics endpoint for bookmarks.
2022-05-09 09:37:23 +10:00
..
admin DEV: Remove last instance of {{with}} helper (#16651) 2022-05-05 06:16:34 -05:00
confirm-new-email
discourse FEATURE: Polymorphic bookmarks pt. 3 (reminders, imports, exports, refactors) (#16591) 2022-05-09 09:37:23 +10:00
discourse-common DEV: Update ember-try to 2.0.0 (#16606) 2022-05-03 11:04:16 -04:00
discourse-hbr DEV: Update ember-try to 2.0.0 (#16606) 2022-05-03 11:04:16 -04:00
discourse-widget-hbs DEV: Update ember-try to 2.0.0 (#16606) 2022-05-03 11:04:16 -04:00
docs
ember-addons
locales DEV: Replace deprecated String.prototype.substr() (#16233) 2022-04-01 17:35:17 +02:00
pretty-text DEV: Update ember-try to 2.0.0 (#16606) 2022-05-03 11:04:16 -04:00
select-kit DEV: Update ember-try to 2.0.0 (#16606) 2022-05-03 11:04:16 -04:00
truth-helpers DEV: Update ember-try to 2.0.0 (#16606) 2022-05-03 11:04:16 -04:00
wizard DEV: Replace deprecated String.prototype.substr() (#16233) 2022-04-01 17:35:17 +02:00
.licensee.json DEV: Add Ember CLI workspace license checks (#16603) 2022-05-03 13:06:19 -04:00
.npmrc
activate-account.js
admin-plugins.js.erb FIX: When using Ember CLI, plugin admin code was not being loaded in tests (#16239) 2022-03-21 15:46:41 -04:00
admin.js FIX: When using Ember CLI, plugin admin code was not being loaded in tests (#16239) 2022-03-21 15:46:41 -04:00
app-boot.js DEV: Disallow Ember global usage (#16147) 2022-03-09 17:54:07 +01:00
application.js DEV: Make screen-track a regular service (#14983) 2021-11-17 20:56:06 +01:00
auto-redirect.js
browser-detect.js DEV: Add polyfill for String.prototype.replaceAll (#16301) 2022-03-28 17:18:56 +01:00
browser-update.js UX: Make header/footer HTML consistent for crawler and noscript 2022-04-07 15:27:06 +01:00
discourse-loader.js FIX: Ember test imports, again (#16203) 2022-03-16 17:12:15 +01:00
discourse-shims.js FIX: uses tippy for popover (#15409) 2022-05-02 17:10:26 +02:00
embed-application.js
ember_include.js.erb DEV: Support for running theme test with Ember CLI (third attempt) 2022-01-13 16:02:07 -05:00
ember_jquery.js
env.js
google-tag-manager.js
google-universal-analytics-v3.js
google-universal-analytics-v4.js
handlebars-shim.js
main_include_admin.js DEV: Remove old backup uploader and resumable.js (#15365) 2021-12-21 15:02:10 +10:00
markdown-it-bundle.js
onpopstate-handler.js
package.json
polyfills.js DEV: Add polyfill for String.prototype.replaceAll (#16301) 2022-03-28 17:18:56 +01:00
pretty-text-bundle.js DEV: Remove deprecated pretty-text functions/file (#16397) 2022-04-06 22:48:50 +02:00
print-page.js
service-worker.js.erb FIX: Disable service worker proxying in chrome 97-97.0.4692 (#15638) 2022-01-18 19:41:25 +00:00
set-prototype-polyfill.js
start-discourse.js DEV: Avoid using globals (#14909) 2021-11-13 13:10:13 +01:00
template_include.js
test-shims.js FIX: Ember test imports, again (#16203) 2022-03-16 17:12:15 +01:00
vendor-common.js FIX: uses tippy for popover (#15409) 2022-05-02 17:10:26 +02:00
vendor-theme-tests.js DEV: Support for running theme test with Ember CLI (third attempt) 2022-01-13 16:02:07 -05:00
vendor.js DEV: Support for running theme test with Ember CLI (third attempt) 2022-01-13 16:02:07 -05:00
widget-runtime.js
wizard-application.js
wizard-shims.js FIX: uses tippy for popover (#15409) 2022-05-02 17:10:26 +02:00
wizard-start.js
wizard-vendor.js FIX: uses tippy for popover (#15409) 2022-05-02 17:10:26 +02:00
yarn.lock DEV: Update ember-try to 2.0.0 (#16606) 2022-05-03 11:04:16 -04:00