Commit Graph
6 Commits
Author SHA1 Message Date
David TaylorandGitHub bd36594ae8 DEV: Update importers from PostUpload to UploadReference (#23681)
Discourse stopped using PostUpload in https://github.com/discourse/discourse/commit/6765cf0fbc92ff24543e99e7c56f3f79091821e5. Since then, these importers have been writing to the table, but any data was totally unused. This commit updates the easy cases to use UploadReference, and adds an error to the discourse_merger import script, which needs more significant work.
2023-09-27 15:01:04 +01:00
David Taylor b7c21ceb26 DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
David TaylorandGitHub 48df00f5be DEV: Apply rubocop to script/import_scripts/phorum.rb (#14727)
Followup to 545b2e4fb9
2021-10-26 19:16:52 +01:00
Jeremy WatersandRobin Ward 545b2e4fb9 Update phorum.rb
Add attachment/file/upload handling to bring them in from phorum to discourse
2021-10-26 12:41:50 -04:00
Sam SaffronandGuo Xiang Tan 5fbcc5cb35 DEV: enable frozen string literal on all files
This reduces chances of errors where consumers of strings mutate inputs
and reduces memory usage of the app.

Test suite passes now, but there may be some stuff left, so we will run
a few sites on a branch prior to merging
2019-05-13 09:31:32 +08:00
Arpit Jalan 16c2db8ff6 add Phorum importer 2015-11-06 16:48:34 +05:30