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

Closed
carbontwelve opened this issue Feb 15, 2019 · 5 comments
Closed

Scheduled posts available via federation #76

carbontwelve opened this issue Feb 15, 2019 · 5 comments
Assignees
Milestone

Comments

@carbontwelve
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
@thebaer
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 closed this as completed in 4af9fa6 Apr 5, 2019
@carbontwelve
Copy link
Author

@thebaer nice one.

@HDValentin
Copy link

If I plan a writefreely post, to publish it in the future it gets not published into the Fediverse, e.g. Mastodon.

The same happens, if I mention a Fediverse profile in the post.
If I edit and save the post after it was published, the profile gets the notification.

Is here the right place for this issue or should I open a new one for it?

@thebaer
Copy link
Member

thebaer commented Nov 6, 2023

@HDValentin sounds like a new, separate issue -- please open a new one for it!

@HDValentin
Copy link

@thebaer Done
#821

@escuco

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

No branches or pull requests

3 participants