Skip to content

feat: Reddit subreddits, rules, flairs, default target and inbox voting - #35

Merged
alihesari merged 1 commit into
mainfrom
feature/reddit-extras
Oct 18, 2026
Merged

alihesari merged 1 commit into
mainfrom
feature/reddit-extras

Conversation

@alihesari

@alihesari alihesari commented Oct 17, 2026 •

Copy link
Copy Markdown
Member

Adds the Reddit tooling from fopost/fopost#1071 to this client: subreddits, their rules, flairs, the account's default subreddit, the subreddit check, and inbox voting.

A flair id is valid only in the subreddit it came from, and direction on a vote is up, down, or none to take an earlier vote back.

The branch had decayed behind main, so part of this is reconciliation rather than new work; anything beyond a plain merge is called out in the commit message.

Merge after the API (fopost/fopost#1071). Reddit API access is still pending, so these endpoints answer until the app is granted the subreddit scopes.

Stacking

Merge first. feature/remote-articles is stacked on this branch and retargets to main automatically when this merges.

accounts gains the four Reddit reads and writes — the subreddits an account
is in, a subreddit's rules and post flairs, and the default subreddit — and
validate.subreddit answers the same existence check before a post exists.
inbox.vote votes an item up or down, or takes the vote back.

SocialAccount.reconnect_required, and the inbox item's vote and can_vote,
are new fields on models that already existed.
@alihesari
alihesari force-pushed the feature/reddit-extras branch from 4b639cc to aa7d7cf Compare October 18, 2026 13:13
@alihesari
alihesari merged commit 171c5ff into main Oct 18, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant