An installation has 500 documents from the last 10 years
A social connector is added
A bulk action edit is applied to all 500 documents
--> result 500 documents are posted to social media
Only future documents should be exported to a connector. (in the future we might add a feature to choose from different options)
When a connector is added or edited, add a date/time field (same component as used in the deadline / publication fields) with label "Publication start date". Default: current date / time. Field is not required.
When exporting (channel:export) ignore documents which have a publication date lower than the publication start date of the connector config
Note: when the minimum creation date is changed to a time in history, historical documents are currently not queued. This is currently not in scope
Integrated\Bundle\ChannelBundle\Form\Type\ConfigFormType: add datetime field 'Do not post items created before'
Create a function to get the connector publication date(s) by channel
Integrated\Bundle\ChannelBundle\EventListener\Doctrine\ChannelDistributionListener: check the publication time