discourse/plugins/discourse-narrative-bot
Martin Brennan 628ba9d1e2
FEATURE: Promote bookmarks with reminders to core functionality (#9369)
The main thrust of this PR is to take all the conditional checks based on the `enable_bookmarks_with_reminders` away and only keep the code from the `true` path, making bookmarks with reminders the core bookmarks feature. There is also a migration to create `Bookmark` records out of `PostAction` bookmarks for a site.

### Summary

* Remove logic based on whether enable_bookmarks_with_reminders is true. This site setting is now obsolete, the old bookmark functionality is being removed. Retain the setting and set the value to `true` in a migration.
* Use the code from the rake task to create a database migration that creates bookmarks from post actions.
* Change the bookmark report to read from the new table.
* Get rid of old endpoints for bookmarks
* Link to the new bookmarks list from the user summary page
2020-04-22 13:44:19 +10:00
..
assets/javascripts/initializers FIX: If bookmarking discobot posts, skip the reminder modal (#9505) 2020-04-22 13:34:58 +10:00
autoload/jobs DEV: Use method instead of constant for discobot badge names 2020-04-09 20:46:51 -06:00
config FIX: If bookmarking discobot posts, skip the reminder modal (#9505) 2020-04-22 13:34:58 +10:00
db/fixtures DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
lib/discourse_narrative_bot FEATURE: Promote bookmarks with reminders to core functionality (#9369) 2020-04-22 13:44:19 +10:00
public/images remove unnecessary symlink 2019-11-29 22:23:43 +01:00
spec FEATURE: Promote bookmarks with reminders to core functionality (#9369) 2020-04-22 13:44:19 +10:00
plugin.rb FEATURE: Promote bookmarks with reminders to core functionality (#9369) 2020-04-22 13:44:19 +10:00