Skip to content

feat: Better support for source stage#145

Merged
commonpike merged 33 commits intodevelopfrom
feature/source-stage
Jun 29, 2025
Merged

feat: Better support for source stage#145
commonpike merged 33 commits intodevelopfrom
feature/source-stage

Conversation

@commonpike
Copy link
Owner

No description provided.

@commonpike
Copy link
Owner Author

commonpike commented May 24, 2025

Still todo

  • on create user
    • copy folder
  • get sources by stage
    • change getSources to getSources(sourceIds[],stages[])
    • update get-sources to support stages[]
  • only prepare posts from incoming by default
    • when updating a sources stage from incoming in Source.updateStage(), 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 in Platform.preparePost()
  • only scheduleNextPost/s from pending and active by default
    • update getLastPost and getNextPostDate
  • only publishDue from active by default
    • update getDuePost
  • only publishPosts from active by default
  • by default, limit get-posts and get-sources to not archived

#149


Test

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

@commonpike commonpike merged commit 5d6d8fe into develop Jun 29, 2025
1 check passed
@commonpike commonpike deleted the feature/source-stage branch June 29, 2025 08:28
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