DateTime::Event::ICal in Calendar, workflow to extend recurrence
This commit is contained in:
parent
01f0250d28
commit
c356a7acc6
8 changed files with 825 additions and 641 deletions
|
|
@ -1,4 +1,7 @@
|
|||
7.9.2
|
||||
- added: Workflow to extend recurring Calendar events 2 years from the
|
||||
current date (now part of weekly maintenence)
|
||||
- new dependency: DateTime::Event::ICal
|
||||
- fixed #11507: Spectre Reports Wrong Workflow Count
|
||||
- added #11412: Additional navigation in Gallery Photo View
|
||||
- added: Sort Items switch to Syndicated Content asset
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@ my $session = start(); # this line required
|
|||
# upgrade functions go here
|
||||
addSortItemsSCColumn($session);
|
||||
removeTranslationCruft($session);
|
||||
addExtensionWorkflow($session);
|
||||
|
||||
finish($session); # this line required
|
||||
|
||||
|
|
@ -48,6 +49,17 @@ sub removeTranslationCruft {
|
|||
print "DONE!\n" unless $quiet;
|
||||
}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
sub addExtensionWorkflow {
|
||||
print "\tAdding calendar event extension to weekly maintenence..."
|
||||
unless $quiet;
|
||||
my $workflow = WebGUI::Workflow->new($session, 'pbworkflow000000000002');
|
||||
my $activity = $workflow->addActivity('WebGUI::Workflow::Activity::ExtendCalendarRecurrences');
|
||||
$activity->set(title => 'Extend Calendar Recurrences');
|
||||
$activity->set(description => 'Create events for live recurrences up to two years from the current date');
|
||||
print "Done\n" unless $quiet;
|
||||
}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
sub addSortItemsSCColumn {
|
||||
my $session = shift;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue