This repository has been archived by the owner. It is now read-only.

Scheduled publishing #134

Merged
merged 4 commits into from Mar 7, 2014

Conversation

Projects
None yet
2 participants
@vinayvinay
Contributor

vinayvinay commented Mar 6, 2014

few more changes to get scheduled publishing working on publisher.

  1. adding #locked_for_edits? to be used in place of #published? when checking if the form needs to be disabled for edits. this takes care of the edition being scheduled_for_publishing?
  2. changing the publish_at timestamp validation sequence to incorporate it within the state machine so that it gets validated only when required, not on every save.

Vinay Patel added some commits Mar 5, 2014

Vinay Patel
Cancel for scheduling should make publish_at nil
... which needed:

1. the validation for publish_at to be a future
time to be moved to the state_machine
2. publish_at to be editable when in state
scheduled_for_published.

@vinayvinay vinayvinay closed this Mar 6, 2014

@vinayvinay vinayvinay reopened this Mar 7, 2014

alext added a commit that referenced this pull request Mar 7, 2014

@alext alext merged commit c5f5c43 into master Mar 7, 2014

1 check passed

default "Build #27 succeeded on Jenkins"
Details

@alext alext deleted the scheduled-publishing branch Mar 7, 2014

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