Commit Graph

16 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
Neil Lalonde db287ad58e FIX: invalid SQL in vanilla_mysql import script 2018-01-19 11:53:07 -05:00
Guo Xiang Tan 5012d46cbd Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
Melroy Neil Dsouza 420abce549 Optimize import script - vanilla_mysql.rb
Use WHERE id > last_id instead of OFFSET because OFFSET causes performance issues
2017-06-19 10:30:55 +05:30
Neil Lalonde 3b119dac6d FIX: importer performance of update_tl0, and give feedback during vanilla_mysql's create_permalinks 2016-07-06 10:58:43 -04:00
Neil Lalonde 32b22996d0 FEATURE: vanilla_mysql importer can import tags 2016-06-27 16:17:00 -04:00
Neil Lalonde fe42b189c9 FIX: vanilla_mysql importer removes everything between the first and last img tags in a post 2016-05-25 12:41:32 -04:00
Neil Lalonde d96ca0a985 FIX: vanilla_mysql importer shouldn't exit when creating duplicate permalink 2016-05-17 18:39:04 -04:00
Neil Lalonde e1061acd32 vanilla_mysql faster users when resuming, create_permalinks 2016-05-17 11:16:51 -04:00
Neil Lalonde 66cf27a7e0 FEATURE: import script for vanilla_mysql can import user avatars if you have the files 2016-04-01 15:57:30 -04:00
Neil Lalonde 6e3d52901a Vanilla importer: add an option for whether vanilla_mysql.rb should convert html markup into literals 2016-01-15 16:47:05 -05:00
Neil Lalonde 70c8ce2f23 cache_rows: false causes segfault 2016-01-12 18:45:51 -05:00
Neil Lalonde f19c95bcf7 Vanilla MySQL: improve performance when the db is full of users with the same username: [Deleted User] 2016-01-12 18:45:51 -05:00
Neil Lalonde 42d05ecfb2 fix wrong variable name in vanilla_mysql import script 2016-01-11 14:20:07 -05: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
Arpit Jalan b0b08c932b add Vanilla (MySQL) importer 2015-07-17 08:24:53 +05:30