discourse/script/import_scripts
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
..
base DEV: Fix methods removed in Ruby 3.2 (#15459) 2022-01-05 18:45:08 +01:00
mbox DEV: mbox importer improvements (#16557) 2022-04-29 13:24:29 -03:00
nodebb DEV: Fix methods removed in Ruby 3.2 (#15459) 2022-01-05 18:45:08 +01:00
phpbb3 DEV: Correctly tag heredocs (#16061) 2022-02-28 20:50:55 +01:00
quandora
settings
socialcast
support
answerbase.rb
answerhub.rb DEV: Fix methods removed in Ruby 3.2 (#15459) 2022-01-05 18:45:08 +01:00
askbot.rb
base.rb FEATURE: Polymorphic bookmarks pt. 3 (reminders, imports, exports, refactors) (#16591) 2022-05-09 09:37:23 +10:00
bbpress.rb DEV: Fix methods removed in Ruby 3.2 (#15459) 2022-01-05 18:45:08 +01:00
bespoke_1.rb
csv_restore_staged_users.rb
discuz_x.rb DEV: Fix methods removed in Ruby 3.2 (#15459) 2022-01-05 18:45:08 +01:00
disqus.rb
drupal-6.rb
drupal.rb DEV: pull email address validation out to a new EmailAddressValidator 2022-02-17 21:49:22 -05:00
drupal_json.rb DEV: Fix methods removed in Ruby 3.2 (#15459) 2022-01-05 18:45:08 +01:00
drupal_qa.rb
flarum_import.rb
fluxbb.rb
friendsmegplus.rb DEV: Fix methods removed in Ruby 3.2 (#15459) 2022-01-05 18:45:08 +01:00
getsatisfaction.rb DEV: Fix methods removed in Ruby 3.2 (#15459) 2022-01-05 18:45:08 +01:00
google_groups.rb DEV: Correctly tag heredocs (#16061) 2022-02-28 20:50:55 +01:00
higher_logic.rb DEV: Fix methods removed in Ruby 3.2 (#15459) 2022-01-05 18:45:08 +01:00
ipboard.rb DEV: Correctly tag heredocs (#16061) 2022-02-28 20:50:55 +01:00
ipboard3.rb DEV: Fix methods removed in Ruby 3.2 (#15459) 2022-01-05 18:45:08 +01:00
jforum.rb DEV: Fix rubocop issues (#14715) 2021-10-27 11:39:28 +03:00
jive.rb
jive_api.rb FEATURE: Polymorphic bookmarks pt. 3 (reminders, imports, exports, refactors) (#16591) 2022-05-09 09:37:23 +10:00
json_generic.rb
kunena.rb
kunena3.rb
lithium.rb DEV: Fix methods removed in Ruby 3.2 (#15459) 2022-01-05 18:45:08 +01:00
mbox.rb DEV: Fix methods removed in Ruby 3.2 (#15459) 2022-01-05 18:45:08 +01:00
modx.rb DEV: Correctly tag heredocs (#16061) 2022-02-28 20:50:55 +01:00
muut.rb
mybb.rb
mybbru.rb
mylittleforum.rb DEV: Correctly tag heredocs (#16061) 2022-02-28 20:50:55 +01:00
nabble.rb
ning.rb DEV: Fix methods removed in Ruby 3.2 (#15459) 2022-01-05 18:45:08 +01:00
phorum.rb DEV: Apply rubocop to script/import_scripts/phorum.rb (#14727) 2021-10-26 19:16:52 +01:00
phpbb3.rb DEV: Fix methods removed in Ruby 3.2 (#15459) 2022-01-05 18:45:08 +01:00
punbb.rb
question2answer.rb
sfn.rb
simplepress.rb
smf1.rb DEV: Fix methods removed in Ruby 3.2 (#15459) 2022-01-05 18:45:08 +01:00
smf2.rb DEV: Fix methods removed in Ruby 3.2 (#15459) 2022-01-05 18:45:08 +01:00
sourceforge.rb
stack_overflow.rb
telligent.rb
vanilla.rb FIX: Vanilla importer fixes (#14699) 2021-10-27 14:22:37 +02:00
vanilla_body_parser.rb
vanilla_mysql.rb DEV: Fix methods removed in Ruby 3.2 (#15459) 2022-01-05 18:45:08 +01:00
vbulletin.rb DEV: Correctly tag heredocs (#16061) 2022-02-28 20:50:55 +01:00
vbulletin5.rb DEV: Fix methods removed in Ruby 3.2 (#15459) 2022-01-05 18:45:08 +01:00
xenforo.rb
yahoogroup.rb
zendesk.rb
zendesk_api.rb DEV: Fix rubocop issues (#14715) 2021-10-27 11:39:28 +03:00
zoho.rb