Enhance embed URL handling and validation system#4
Enhance embed URL handling and validation system#4hussam789 wants to merge 1 commit intoembed-url-handling-prefrom
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
|||||||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
User description
PR #4
PR Type
Enhancement
Description
Implement embeddable Discourse comments system with iframe support
Add RSS/ATOM feed polling for automatic topic creation and updates
Support raw HTML rendering for imported content with URL absolutization
Add embed controller with host validation and rate limiting
Diagram Walkthrough
File Walkthrough
14 files
New embed controller for comment displayAsync job to retrieve embedded topicsScheduled job for RSS/ATOM feed pollingAdd raw HTML cook method supportNew model for managing embedded topicsTopic retrieval with validation and throttlingSupport cook_method parameter in post creationAdd skip_validations option to post revisionView template for embedded comments displayLoading state view for embedded commentsEmbed layout with postMessage height resizingClient-side embed script with iframe integrationStyling for embedded comments displayRefactor Disqus import to use TopicEmbed5 files
Add embed best comments routeCreate topic_embeds table with indexesAdd cook_method column to posts tableAdd force true to top_topics table creationAdd embedding configuration settings1 files
Fix trailing whitespace in migration file2 files
Add embedding category to admin settingsAdd embed-related i18n strings and settings1 files
Add ruby-readability and simple-rss gems4 files
Tests for embed controller functionalityTests for feed polling job executionTests for topic embed model and importTests for topic retriever validation logic