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

Open
carbontwelve opened this Issue Feb 15, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@carbontwelve
Copy link

carbontwelve commented Feb 15, 2019

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

@thebaer

This comment has been minimized.

Copy link
Member

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: https://writefreely.org/tasks/567

@thebaer thebaer self-assigned this Feb 28, 2019

@thebaer thebaer added the federation label Mar 24, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.