mirror of
https://github.com/discourse/discourse.git
synced 2026-08-11 02:59:07 +08:00
The posts step drives the RawExtractor over every post: one embed buffer per worker, cleared per post; extracted embeds land in the embed_* tables keyed by the post. Its step_args carry the name gates (mentions, hashtags, custom emoji) and the source_site hosts for internal-link detection; foreign hosts tally per worker and reduce to one log entry via combine_results. The custom_emojis step feeds the emoji gate and links each emoji to its upload, warning on a dangling upload reference. The posts and custom_emojis tables leave the ignored list, with the schema regenerated. Three resolver examples that need the posts table return to the importer specs. |
||
|---|---|---|
| .. | ||
| embed_owner.rb | ||
| hashtag_type.rb | ||
| link_target.rb | ||
| log_entry_type.rb | ||
| mention_type.rb | ||
| post_hidden_reason.rb | ||
| post_type.rb | ||
| site_setting_datatype.rb | ||
| site_setting_import_mode.rb | ||
| upload_type.rb | ||