Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Item15105: multiple improvements to MetaCommentPlugin
* add interface to render comments from a base translation * added =ismoderated= to only show approval controls if the topic actually is moderated * added new preference setting COMMENTNOTIFY (default on) to suppress change notifications when a topic is commented * rewrite of javascript code; blocking browser navigation when there are unsaved comments * improve usability of threaded commenting * enable wiki editor for commenting * use new api of JQDataTablesPlugin to register custom columns to dbcache and solr connectors * new solr fields =field_Comments_d= and =field_CommentDate_dt=
- Loading branch information
1 parent
b32a68e
commit ec7102e
Showing
37 changed files
with
3,990 additions
and
1,648 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Extension for Foswiki - The Free and Open Source Wiki, http://foswiki.org/ | ||
# | ||
# JQuery Jitsi Meet is Copyright (C) 2021 Michael Daum | ||
# | ||
# This program is free software; you can redistribute it and/or | ||
# modify it under the terms of the GNU General Public License | ||
# as published by the Free Software Foundation; either version 2 | ||
# of the License, or (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details, published at | ||
# http://www.gnu.org/copyleft/gpl.html | ||
|
||
package Foswiki::Plugins::MetaCommentPlugin::JQuery; | ||
|
||
use strict; | ||
use warnings; | ||
|
||
use Foswiki::Func (); | ||
use Foswiki::Plugins::MetaCommentPlugin (); | ||
use Foswiki::Plugins::JQueryPlugin::Plugin (); | ||
our @ISA = qw( Foswiki::Plugins::JQueryPlugin::Plugin ); | ||
|
||
sub new { | ||
my $class = shift; | ||
|
||
my $this = bless( | ||
$class->SUPER::new( | ||
name => 'MetaCommentPlugin', | ||
version => $Foswiki::Plugins::MetaCommentPlugin::VERSION, | ||
author => 'Michael Daum', | ||
homepage => 'https://foswiki.org/Extensions/MetaCommentPlugin', | ||
javascript => ['naviblocker.js', 'metacomment.js'], | ||
css => ['metacomment.css'], | ||
puburl => '%PUBURLPATH%/%SYSTEMWEB%/MetaCommentPlugin', | ||
dependencies => ['ui', 'form', 'jsonrpc', 'pnotify', 'scrollto'], | ||
), | ||
$class | ||
); | ||
|
||
return $this; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.