Skip to content

feat: Better support for SourceStatus#143

Closed
commonpike wants to merge 9 commits intodevelopfrom
feature/source-status
Closed

feat: Better support for SourceStatus#143
commonpike wants to merge 9 commits intodevelopfrom
feature/source-status

Conversation

@commonpike
Copy link
Owner

No description provided.

@commonpike
Copy link
Owner Author

commonpike commented Apr 30, 2025

Still todo

  • only prepare posts from incoming
    • when preparing a source, give it a unique id
    • Post id should not be in json - it is derived from source
    • dont change the status on Post.prepare - change it higher
  • only scheduleNextPost/s from pending and active
    • update getLastPost and getNextPostDate
  • only publishDue from active
    • update getDuePost
  • add janitor/archive api call to
    • move posts to archive
    • update source statusses to match post statusses
  • by default, limit get-posts and get-sources to not archived

Test

  • prepare-posts / prepare-post
  • schedule-post / schedule-next-post
  • publish-post / publish-due-posts

- only prepare posts from incoming
- only scheduleNextPost/s from pending and active
- only getLastPost from active and done
@commonpike commonpike changed the title feat: Better support for PostStatus feat: Better support for SourceStatus May 11, 2025
@commonpike
Copy link
Owner Author

redone in #145, closing

@commonpike commonpike closed this May 24, 2025
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