Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scheduled posts available via federation #76

carbontwelve opened this issue Feb 15, 2019 · 2 comments

Scheduled posts available via federation #76

carbontwelve opened this issue Feb 15, 2019 · 2 comments


Copy link

Describe the bug

I just noticed on 0.8.1 that when I schedule posts with dates in the future that they become available via federation immediately.

Steps to reproduce (if necessary)

Steps to reproduce the behavior:

  1. Create a new draft post and give it a created date in the future
  2. Move post from drafts to a public blog
  3. Note that viewing the blog while logged in shows it as being Scheduled
  4. Note that viewing the blog while logged out doesn't show the post
  5. Using Pleroma/Mastodon lookup the blogs federated address
  6. Notice the scheduled post appears in the post listing from Pleroma/Mastodon with its created date showing correctly

Expected behavior

I would expect that a post with status scheduled would not be published via federation until after its created date. If it's not visible from the blogs url when logged out it shouldn't be visible via federation.

Application configuration

Version or last commit: 0.8.1

@thebaer thebaer added the bug label Feb 28, 2019
@thebaer thebaer added this to the 1.0 milestone Feb 28, 2019
Copy link

thebaer commented Feb 28, 2019

Thanks for the report, I was able to replicate this as well. Looking into the cause now -- probably some missing logic.

Beyond just not publishing to the fediverse in this case, to get the full scheduling functionality, we'll also need to add some kind of mechanism that regularly checks for scheduled posts and federates them out. That'll be part of a larger undertaking we're tracking here:

@thebaer thebaer self-assigned this Feb 28, 2019
@thebaer thebaer closed this as completed in 4af9fa6 Apr 5, 2019
Copy link

@thebaer nice one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

No branches or pull requests

2 participants