discourse/plugins
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
..
discourse-details Update translations (#16378) 2022-04-05 15:28:19 +02:00
discourse-local-dates DEV: Use cloneJSON instead of spread operator (#16615) 2022-05-04 14:11:45 +08:00
discourse-narrative-bot FEATURE: Polymorphic bookmarks pt. 3 (reminders, imports, exports, refactors) (#16591) 2022-05-09 09:37:23 +10:00
discourse-presence Update translations (#16505) 2022-04-19 15:45:09 +02:00
lazy-yt DEV: Correctly tag heredocs (#16061) 2022-02-28 20:50:55 +01:00
poll FIX: Validate post's polls as acting user (#16638) 2022-05-05 09:54:10 +03:00
styleguide Update translations (#16608) 2022-05-03 15:30:59 +02:00