Commit Graph

9 Commits

Author SHA1 Message Date
Loïc Guitaut f7c57fbc19 DEV: Enable `unless` cops
We discussed the use of `unless` internally and decided to enforce
available rules from rubocop to restrict its most problematic uses.
2023-02-21 10:30:48 +01:00
David Taylor 436b3b392b
DEV: Apply syntax_tree formatting to `script/*` 2023-01-09 11:13:22 +00:00
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
Guo Xiang Tan 5012d46cbd Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
Jay Pfaffman bae5400042 All config can be done via environment variables 2016-09-30 14:24:58 -07:00
Jay Pfaffman 152e5b9b7e parameterize database and fields, link to attachments 2016-09-15 15:24:06 -07:00
Sam 0cffbf87c3 update import sample to not have passwords and stuff like that 2015-12-01 12:30:41 +11: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
maiainternet ca6e516f86 Create kunena3.rb
Kunena import script customised for Kunena v3+
2015-08-20 19:57:31 +03:00