Commit Graph

11 Commits

Author SHA1 Message Date
Sam Saffron 30990006a9 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 Taylor 9248ad1905 DEV: Enable `Style/SingleLineMethods` and `Style/Semicolon` in Rubocop (#6717) 2018-12-04 11:48:13 +08:00
Guo Xiang Tan 5012d46cbd Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
Kane York 821124f3fd 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 a412e9bede 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 b5426763e4 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 12fc7eaf0d FIX: Drupal QA was missing some comments 2014-10-24 12:57:41 -04:00
Robin Ward 1c57a60822 Also import Q+A comments 2014-10-07 14:32:50 -04:00
Robin Ward 28cbebe5ed Better import for Drupal QA 2014-10-02 13:15:50 -04:00
Robin Ward f8ac0bd7ef FIX: Drupal import was using wrong comments table 2014-10-01 14:25:49 -04:00
Robin Ward f4f54fd49b First stab at Importer for Drupal QA 2014-09-10 14:27:40 -04:00