Commit Graph

29 Commits

Author SHA1 Message Date
Gerhard Schlager 0f3c3bc309 Make import scripts work with frozen strings 2019-05-30 22:22:24 +02: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 8dc1463ab3 Enable `Lint/ShadowingOuterLocalVariable` for Rubocop. 2018-09-04 10:16:42 +08:00
Jay Pfaffman cc46ab5bb1 smf2: deal with duplicate category names (#5435) 2017-12-27 16:56:36 +11:00
Guo Xiang Tan 5012d46cbd Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
michael@discoursehosting.com 17b5303449 Convert nested quotes 2017-04-02 20:38:23 +00:00
michael@discoursehosting.com 6168bcb4c4 Someone broke/disabled? the php check 2017-04-02 20:35:43 +00:00
michael@discoursehosting.com 7e27559f3e We need to get rid of the ignore_quotes thing as well 2017-04-02 20:33:48 +00:00
michael@discoursehosting.com 60be3e0d38 Get rid of the weird and broken message graph 2017-04-02 20:31:06 +00:00
michael@discoursehosting.com 7d09af141e Apparently need to save 2017-04-02 20:28:16 +00:00
michael@discoursehosting.com a72f56c3a7 Add migratepassword plugin hash 2017-04-02 20:27:57 +00:00
michael@discoursehosting.com 332d655a1d Use html_for_upload instead of broken v8 stuff 2017-04-02 20:25:08 +00:00
michael@discoursehosting.com e788ac3351 Add permalinks creator for PrettyURL plugin 2017-04-02 20:23:03 +00:00
Régis Hanol dcc4267490 FIX: base script import to handle category color/text color 2015-05-19 12:40:35 +02:00
Jens Maier f8e1c97441 Update existing user's create time 2015-03-27 14:38:27 +01:00
Jens Maier 1cc7db2370 Fix gem load order for SFM2 importer 2015-03-15 01:57:46 +01:00
Gerhard Schlager 53591ade00 Adds a few enhancements to the base importer
- Allows importing globally pinned topics
- Doesn't restore the original value of a SiteSetting anymore if an importer changed its value
- Allows all file extensions during the import
- Adds the ability to import bookmarks
2015-03-13 21:24:11 +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
Jens Maier 30710215bc FIX: handle timezone detection errors 2015-01-13 16:44:25 +01:00
Jens Maier b6bbfb907c FIX: quoting non-existing messages would break SMF2 importer 2014-10-02 00:44:03 +02:00
Jens Maier b74a7d271a FIX: made SMF2 importer compatible with Ruby 2.0 2014-09-30 21:01:50 +02:00
Jens Maier b075b9937f Fix: messages imported in wrong order 2014-08-05 17:40:26 +02:00
Jens Maier 31a517616c Feature: import attachments with support for SMF2 inline attachments mod 2014-07-30 06:19:46 +02:00
Jens Maier e93de81d32 Support more legacy SMF2 attachment naming schemes 2014-07-30 06:19:46 +02:00
Jens Maier 7f68cb5bb0 Allow multiple mysql connections 2014-07-30 06:19:46 +02:00
Jens Maier b17611f2db Fix: defaults should be defaults and not override parsed settings. 2014-07-30 06:19:46 +02:00
Jens Maier 44eb9fbd70 improved option handling 2014-07-16 23:18:52 +02:00
Jens Maier f40510b93e made postprocessing of posts with delay quotes conversion resumable 2014-07-16 21:40:52 +02:00
Jens Maier 7b5e6ff744 FEATURE: smf2 import script 2014-07-16 20:02:58 +02:00