added: Two new approval activities, byLineage and byCommitterGroup
added: Show a message to users when they log in fixed: Gallery search form doesn't work right in IE6 fixed: Minor bug in new gallery approval handling
This commit is contained in:
parent
a0ec44567a
commit
614b37e31d
12 changed files with 515 additions and 32 deletions
|
|
@ -91,6 +91,9 @@
|
|||
- All group operations now show group id and name (Yung Han Khoe)
|
||||
- Added: On the commit screen of version tags, you can now set a Start/End Time for when the tag should appear.
|
||||
- Added: WaitUntil workflow activity associated with version tags that waits until the start or end time of a version tag has been reached before continuing the workflow
|
||||
- added: Show a Message when users login
|
||||
- added: Two new approval activities, ByCommitterGroup and ByLineage
|
||||
- fixed: Gallery Search form doesn't work right in IE6
|
||||
|
||||
7.5.10
|
||||
- fix: Syntax error in GetCsMail
|
||||
|
|
|
|||
|
|
@ -68,11 +68,63 @@ addAssetManager( $session );
|
|||
removeSqlForm($session);
|
||||
migratePaymentPlugins( $session );
|
||||
removeRecurringPaymentActivity( $session );
|
||||
addLoginMessage( $session );
|
||||
addNewApprovalActivities( $session );
|
||||
addUserListWobject( $session );
|
||||
addInheritUrlFromParent( $session );
|
||||
|
||||
finish($session); # this line required
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# Add two new approval activities
|
||||
sub addNewApprovalActivities {
|
||||
my $session = shift;
|
||||
print "\tAdding new approval activities... " unless $quiet;
|
||||
|
||||
my $activities = $session->config->get( "workflowActivities" );
|
||||
push @{ $activities->{ 'WebGUI::VersionTag' } },
|
||||
'WebGUI::Workflow::Activity::RequestApprovalForVersionTag::ByCommitterGroup',
|
||||
'WebGUI::Workflow::Activity::RequestApprovalForVersionTag::ByLineage',
|
||||
;
|
||||
|
||||
$session->config->set( "workflowActivities", $activities );
|
||||
|
||||
print "DONE!\n" unless $quiet;
|
||||
}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# Add the necessary settings and profile fields for the new login message
|
||||
sub addLoginMessage {
|
||||
my $session = shift;
|
||||
print "\tAdding Login Message... " unless $quiet;
|
||||
|
||||
# Add some settings
|
||||
my %settings = (
|
||||
showMessageOnLogin => '0',
|
||||
showMessageOnLoginTimes => '0',
|
||||
showMessageOnLoginBody => '',
|
||||
);
|
||||
for my $setting ( keys %settings ) {
|
||||
$session->setting->add( $setting, $settings{ $setting } );
|
||||
}
|
||||
|
||||
# Add a profile field
|
||||
WebGUI::ProfileField->create( $session,
|
||||
'showMessageOnLoginSeen',
|
||||
{
|
||||
fieldType => 'integer',
|
||||
dataDefault => '0',
|
||||
visible => '0',
|
||||
editable => '0',
|
||||
protected => '1',
|
||||
required => '0',
|
||||
label => 'WebGUI::International::get("showMessageOnLoginSeen","Auth");',
|
||||
},
|
||||
);
|
||||
|
||||
print "DONE!\n" unless $quiet;
|
||||
}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
sub removeSqlForm {
|
||||
my $session = shift;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue