Allow users who re-edit posts to skip notifications. Fixes bug #11466
This commit is contained in:
parent
2dd18be4be
commit
f5fd970c94
5 changed files with 19 additions and 0 deletions
|
|
@ -9,6 +9,7 @@
|
||||||
- fixed thread pagination on search results, off by 1 error and modal direction
|
- fixed thread pagination on search results, off by 1 error and modal direction
|
||||||
- fixed #11482: Template hard-coded in deactivateAccount
|
- fixed #11482: Template hard-coded in deactivateAccount
|
||||||
- fixed #11485: RedirectAfterLoginUrl Setting should not override returnUrl and redirectAfterLogin scratch
|
- fixed #11485: RedirectAfterLoginUrl Setting should not override returnUrl and redirectAfterLogin scratch
|
||||||
|
- fixed #11466: Can't delete attached file in CS
|
||||||
|
|
||||||
7.9.0
|
7.9.0
|
||||||
- added #11383: AJAX username checks at registration (Luke Robinson / Orchard Solutions)
|
- added #11383: AJAX username checks at registration (Luke Robinson / Orchard Solutions)
|
||||||
|
|
|
||||||
BIN
docs/upgrades/packages-7.9.1/default_post_form.wgpkg
Normal file
BIN
docs/upgrades/packages-7.9.1/default_post_form.wgpkg
Normal file
Binary file not shown.
|
|
@ -1127,6 +1127,9 @@ sub processPropertiesFromFormPost {
|
||||||
else {
|
else {
|
||||||
$self->getThread->unsubscribe;
|
$self->getThread->unsubscribe;
|
||||||
}
|
}
|
||||||
|
if ($self->canEdit && $form->process('skip_notification')) {
|
||||||
|
$self->setSkipNotification;
|
||||||
|
}
|
||||||
if ($self->getThread->getParent->canEdit) {
|
if ($self->getThread->getParent->canEdit) {
|
||||||
$form->process('isLocked') ? $self->getThread->lock : $self->getThread->unlock;
|
$form->process('isLocked') ? $self->getThread->lock : $self->getThread->unlock;
|
||||||
$form->process('isSticky') ? $self->getThread->stick : $self->getThread->unstick;
|
$form->process('isSticky') ? $self->getThread->stick : $self->getThread->unstick;
|
||||||
|
|
@ -1715,6 +1718,10 @@ sub www_edit {
|
||||||
name=>'contentType',
|
name=>'contentType',
|
||||||
value=>$self->getValue("contentType") || "mixed",
|
value=>$self->getValue("contentType") || "mixed",
|
||||||
});
|
});
|
||||||
|
$var{'skipNotification.form'} = WebGUI::Form::yesNo($session, {
|
||||||
|
name=>'skip_notification',
|
||||||
|
value=>$form->get("skip_notification",'yesNo') || 0,
|
||||||
|
});
|
||||||
if ($session->setting->get("metaDataEnabled")
|
if ($session->setting->get("metaDataEnabled")
|
||||||
&& $self->getThread->getParent->get('enablePostMetaData')) {
|
&& $self->getThread->getParent->get('enablePostMetaData')) {
|
||||||
my $meta = $self->getMetaDataFields();
|
my $meta = $self->getMetaDataFields();
|
||||||
|
|
|
||||||
|
|
@ -56,6 +56,7 @@ our $HELP = {
|
||||||
{ 'name' => 'title.form.textarea' },
|
{ 'name' => 'title.form.textarea' },
|
||||||
{ 'name' => 'synopsis.form' },
|
{ 'name' => 'synopsis.form' },
|
||||||
{ 'name' => 'content.form' },
|
{ 'name' => 'content.form' },
|
||||||
|
{ 'name' => 'skipNotification.form' },
|
||||||
{ 'name' => 'form.submit' },
|
{ 'name' => 'form.submit' },
|
||||||
{ 'name' => 'karmaScale.form' },
|
{ 'name' => 'karmaScale.form' },
|
||||||
{ 'name' => 'karmaIsEnabled' },
|
{ 'name' => 'karmaIsEnabled' },
|
||||||
|
|
|
||||||
|
|
@ -178,6 +178,16 @@ will be a plain text area.|,
|
||||||
lastUpdated => 1149829706,
|
lastUpdated => 1149829706,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
'skipNotification.form' => {
|
||||||
|
message => q|A field to that allows a user with the correct editing privileges to skip email notification|,
|
||||||
|
lastUpdated => 1269289137,
|
||||||
|
},
|
||||||
|
|
||||||
|
'Skip notification' => {
|
||||||
|
message => q|Skip notification|,
|
||||||
|
lastUpdated => 1269289137,
|
||||||
|
},
|
||||||
|
|
||||||
'form.submit' => {
|
'form.submit' => {
|
||||||
message => q|A button to submit the post.|,
|
message => q|A button to submit the post.|,
|
||||||
lastUpdated => 1149829706,
|
lastUpdated => 1149829706,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue