feat: Reddit channel#103
Open
paulocastellano wants to merge 34 commits into
Open
Conversation
…ating, flair reload
…n response, config host in test
…failure paths, dispatch
…late verify-403, config hosts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reddit channel
Adds Reddit as a publishing channel. Users connect their own Reddit account via OAuth and submit to one or more subreddits per post — following the existing channel architecture (Discord as the reference).
What it does
duration=permanent, mandatoryUser-Agent), token verify + refresh inConnectionVerifier.meta.subreddits[]), paced for Reddit's rate limit, with per-subreddit partial-failure handling (succeeded submissions are persisted; the failing subreddit is surfaced)./api/media/asset→ S3 →<Location>from XML).PostPlatformMetaRules(web + public API + MCP all spread it), including required-on-publish (≥1 subreddit, title, URL for link posts, required flair).Deferred (follow-up)
video_poster_url, and there is no frame-extraction/poster pipeline in the app (no ffmpeg). The UI and validation only offer self/link/image, so there's no confusing publish-time failure — video/gallery simply aren't advertised yet.Testing
Notes
config/trypost.php(platforms.reddit); nothing hardcoded.