Commit Graph
12 Commits
Author SHA1 Message Date
David Taylor b7c21ceb26 DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
Peter ZhuandGitHub 077003d795 DEV: Fix methods removed in Ruby 3.2 (#15459)
* File.exists? is deprecated and removed in Ruby 3.2 in favor of
File.exist?
* Dir.exists? is deprecated and removed in Ruby 3.2 in favor of
Dir.exist?
2022-01-05 18:45:08 +01:00
Dan UngureanuandGitHub 6bf938c6ad DEV: Fix rubocop issues (#14715) 2021-10-27 11:39:28 +03:00
Mohamad AbrasandRobin Ward 90b5139625 add mongo adapter to nodebb importer (#8000) 2019-08-12 14:15:11 -04: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
Guo Xiang TanandGuo Xiang Tan 64a9e3bc52 FIX: Properly associate user_profiles background urls via upload id.
`Upload#url` is more likely and can change from time to time. When it
does changes, we don't want to have to look through multiple tables to
ensure that the URLs are all up to date. Instead, we simply associate
uploads properly to `UserProfile` so that it does not have to replicate
the URLs in the table.
2019-05-02 14:58:24 +08:00
702b153db3 FEATURE: New 'Reviewable' model to make reviewable items generic
Includes support for flags, reviewable users and queued posts, with REST API
backwards compatibility.

Co-Authored-By: romanrizzi <[email protected]>
Co-Authored-By: jjaffeux <[email protected]>
2019-03-28 12:45:10 -04:00
Penar Musaraj 7caa12e134 Add user bios to NodeBB importer 2019-03-20 16:40:26 -04:00
Penar Musaraj 96da5ca974 Nodebb importer: add permalinks, exclude disabled categories 2019-03-18 21:59:02 -04:00
Penar Musaraj 7f72d0282c FIX: NodeBB import details
- mark imported users as active

- do not strip @ from usernames in post content

- improve uploads path matching
2019-03-06 12:30:36 -05:00
Régis Hanol 8deb9f04f3 REFACTOR: more 'fake_email' to base importer 2018-10-22 11:12:40 +02:00
Orlando Del AguilaandRégis Hanol aae65dd8d4 nodebb importer (#5842) 2018-05-18 10:12:40 +02:00