discourse/script/import_scripts
Edmond Lepedus f490ed3bbc FEATURE: Add attachment support to xenforo importer (#7548)
* FEATURE: Add attachment support to XenForo importer

If `ATTACHMENT_DIR` is provided, importer will scan each imported post
for `[GALLERY]` and `[ATTACH]` tags, attempt to import the referenced files
as Discourse uploads and replace the tags with Discourse markup.

References to files which cannot be imported are stripped.

NOTE: This only imports attachments which are referenced in imported
posts. Any XenForo media or files which are not referenced in any post
using `[ATTACH]` or `[GALLERY]` tags will not be imported. The goal is to
ensure that we don't have posts with missing images and unsightly
markup, NOT to ensure that all attachments are migrated.

* FEATURE: Add attachment support to XenForo importer

If `ATTACHMENT_DIR` is provided, importer will scan each imported post
for `[GALLERY]` and `[ATTACH]` tags, attempt to import the referenced files
as Discourse uploads and replace the tags with Discourse markup.

References to files which cannot be imported are stripped.

NOTE: This only imports attachments which are referenced in imported
posts. Any XenForo media or files which are not referenced in any post
using `[ATTACH]` or `[GALLERY]` tags will not be imported. The goal is to
ensure that we don't have posts with missing images and unsightly
markup, NOT to ensure that all attachments are migrated.

* FEATURE: Add attachment support to XenForo importer

If `ATTACHMENT_DIR` is provided, importer will scan each imported post
for `[GALLERY]` and `[ATTACH]` tags, attempt to import the referenced files
as Discourse uploads and replace the tags with Discourse markup.

References to files which cannot be imported are stripped.

NOTE: This only imports attachments which are referenced in imported
posts. Any XenForo media or files which are not referenced in any post
using `[ATTACH]` or `[GALLERY]` tags will not be imported. The goal is to
ensure that we don't have posts with missing images and unsightly
markup, NOT to ensure that all attachments are migrated.
2019-05-17 16:18:28 +10:00
..
base DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
mbox DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
nodebb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
phpbb3 DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
quandora DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
socialcast DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
support DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
answerbase.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
askbot.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
base.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
bbpress.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
bespoke_1.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
discuz_x.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
disqus.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
drupal_json.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
drupal_qa.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
drupal-6.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
drupal.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
fluxbb.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
friendsmegplus.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
getsatisfaction.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
google_groups.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
ipboard3.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
ipboard.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
jive_api.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
jive.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
json_generic.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
kunena3.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
kunena.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
lithium.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
mbox.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
modx.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
muut.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
mybb.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
mylittleforum.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
nabble.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
ning.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
phorum.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
phpbb3.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
punbb.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
question2answer.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
sfn.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
simplepress.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
smf1.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
smf2.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
sourceforge.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
stack_overflow.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
telligent.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
vanilla_mysql.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
vanilla.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
vbulletin5.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
vbulletin.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
xenforo.rb FEATURE: Add attachment support to xenforo importer (#7548) 2019-05-17 16:18:28 +10:00
yahoogroup.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
zendesk_api.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
zendesk.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
zoho.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00