discourse/plugins/discourse-narrative-bot/lib/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
..
templates FIX: Narrative Bot certificates are ERB templates (#8174) 2019-10-09 17:45:01 +11:00
actions.rb DEV: s/\$redis/Discourse\.redis (#8431) 2019-12-03 10:05:53 +01:00
advanced_user_narrative.rb DEV: Use method instead of constant for discobot badge names 2020-04-09 20:46:51 -06:00
base.rb DEV: Use method instead of constant for discobot badge names 2020-04-09 20:46:51 -06:00
certificate_generator.rb DEV: send url string to FileHelper and refactor another open-uri call 2019-11-14 08:25:30 -07:00
dice.rb Fix the build take 2. 2019-05-13 11:22:48 +08:00
magic_8_ball.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
new_user_narrative.rb FEATURE: Promote bookmarks with reminders to core functionality (#9369) 2020-04-22 13:44:19 +10:00
quote_generator.rb FIX: Use the quote generator in the example text 2019-10-16 13:40:44 -04:00
track_selector.rb DEV: s/\$redis/Discourse\.redis (#8431) 2019-12-03 10:05:53 +01:00
welcome_post_type_site_setting.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00