12 Commits
Author SHA1 Message Date
David Taylor b7c21ceb26 DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00: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
David TaylorandGuo Xiang Tan e4e4b64c7e DEV: Enable Style/SingleLineMethods and Style/Semicolon in Rubocop (#6717) 2018-12-04 11:48:13 +08:00
Guo Xiang TanandGitHub 5269b652cd Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
Kane York bf4bfddb85 FEATURE: Skip batches if all records exist
Update all import scripts to take advantage of all_records_exist?
2015-09-21 17:13:02 -07:00
Gerhard Schlager 8dafe8120b Fix gem load order for all importers
https://meta.discourse.org/t/migrating-from-mybb/25563/8
2015-03-18 20:31:02 +01:00
Gerhard Schlager abe16aa413 FIX: Importers should allow categories with existing name if the parent category is different
This changes the content of `@categories_lookup` from `Category` objects
to IDs since the category names aren't needed anymore. The lookup
method has been renamed too.
2015-03-12 21:15:02 +01:00
Robin Ward 3a594cbdea FIX: Drupal QA was missing some comments 2014-10-24 12:57:41 -04:00
Robin Ward 75722f5b4b Also import Q+A comments 2014-10-07 14:32:50 -04:00
Robin Ward 502926fbf2 Better import for Drupal QA 2014-10-02 13:15:50 -04:00
Robin Ward 1405a12c8e FIX: Drupal import was using wrong comments table 2014-10-01 14:25:49 -04:00
Robin Ward cee6c67c3a First stab at Importer for Drupal QA 2014-09-10 14:27:40 -04:00