Closed (fixed)
Project:
Workbench Moderation
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Feature request
Assigned:
Reporter:
Created:
2 Mar 2011 at 20:16 UTC
Updated:
8 Dec 2011 at 15:40 UTC
Jump to comment: Most recent
Comments
Comment #1
rp7 commentedsubscribe
Comment #2
Cyclodex commentedsubscribe
note: I have explained some problems regarding to use workbench moderation & scheduler here :
#1127734: Add option to block creation of new drafts based on moderation state
Comment #3
Anonymous (not verified) commentedsubscribe
Comment #4
fathershawnI'm interested in this. Does anyone have a handle on the basic issues yet or is that the first step?
Comment #5
jaiiali commentedsubscribe
Comment #6
fathershawnWorkbench Moderation "doesn't have a mature api" and neither does Scheduler. Our first decision point really is one of:
The Scheduler api has one function, which fires in the Scheduler code after (un)publish action is executed. If we integrate with Scheduler we would need to combine what Workbench Moderation knows about the moderation state with what Scheduler knows about (un)publish dates and times. We could collaborate with Eric Schaefer, the Scheduler maintainer, to add a hook to Scheduler that fires before the publish action testing if the action should be skipped. We could then add a hook implementation to Workbench Moderation that checks the moderation state and returns TRUE if the content should be published.
Comment #7
dave reidIt would be nice to work with Scheduler, although we'll have to work to allow Scheduler to work based on revisions, not entire nodes. I have some code that I'm going to be cleaning up and seeing if we can re-use for this issue.
Comment #8
Anonymous (not verified) commentedWhat about Rules based scheduling? Maybe Workbench Moderation could create a few scheduling actions to manage the workflow
Comment #9
fathershawnLook forward to the code - shout if you think I can help
Comment #10
BenK commentedSubscribing
Comment #11
dave reidOfficially going to drive this one. :)
Comment #12
tsvenson commentedIt might be worth looking at the Scheduled Actions module as an alternative. It is developed directly for Drupal 7 and the maintainer is open for integrating it with Workbench Moderation, such as via Rules integration. See #1228042: Integration with Workbench for more information.
Comment #13
simon georges commentedI need this for a project a well.
@Dave Reid, do you want some help to implement this (following your guidelines, obviously) ?
Comment #14
robeano commentedThis is not a 1.0 release blocker but I understand this needs development sooner rather than later.
Comment #15
clashar commented+1
Comment #16
droath commentedSubscribing
Comment #17
dave reidWe are working on a module that will allow users to schedule revision operations at arbitrary dates. This module is being developed independently of Workbench but we will add integration with the revision moderation states provided by Workbench Moderation. We hope to have it posted soon.
Comment #18
dave reidComment #19
marblegravy commentedsub
Comment #20
mattkoltermann commentedsub
Comment #21
Kvart commentedsubscribe
Comment #22
mikus commentedsub
Comment #23
nico heulsen commentedsubscribe
@Dave Reid, Is there a place where I can have a look at that code from #17. Really like to help with that, since we really need this for a project.
Comment #24
Vandalf commentedsubscribing
Comment #25
ryanwebpage commentedsubscribing
Comment #26
theunraveler commentedsub
Comment #27
mropanen commentedCould this functionality be achieved by using scheduled Rules with a date field, so that Rules would trigger a custom action that sets $node->workbench_moderation_state_new = "published" when the date has been reached?
Comment #28
RyanPrice commentedSubscribe.
Comment #29
pastizzi commentedSubscribe
Comment #30
dave reidThanks everyone for being patient. We should be able to release this code as a module very, very soon. There was some internal confusion as to if the client had invoiced and paid for the work yet that we are resolving hopefully today or early next week.
Comment #31
rowbeast commentedsubscribe!
Comment #32
longwave@rowbeast: Click the big green Follow button at the top of an issue instead of subscribing; that way you don't bump the thread when there is no news (which I hoped there was when I clicked this today!)
Comment #33
dave reidThe module has finally been published and released as http://drupal.org/project/revision_scheduler! It currently integrates with Workbench moderation but the integration will be moving from Revision scheduler to Workbench moderation.
Comment #34
hyperglide commented@dave Reid!
Thanks this is wonderful news! I see that the module is listed in a dev state.
Can you offer any words on if stable for a production site?
Please send my thanks to "Minnesota Public Radio".
Comment #35
schnitzel commentedprobably we should discuss this in the Revision_Scheduler Issue queue, but short reply:
We are using the module for a customer project and it seems to work correct, the problem is the UX, which is already discussed in this issue: #1342824: Add a 'schedule this revision' fieldset on the node edit form
there is already a patch which handles an easy case, we are close to have a patch which also allows to have suggested schedules.