Skip to content

Commit

Permalink
Item14296: don't report back an urlparam
Browse files Browse the repository at this point in the history
... in the error msg
  • Loading branch information
MichaelDaum committed Jan 23, 2017
1 parent 2ff9ad6 commit 2ecb564
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 15 deletions.
3 changes: 2 additions & 1 deletion data/System/JQDataTablesPlugin.txt
Expand Up @@ -191,6 +191,7 @@ Click on the table headers to sort the columns according to their data type.

---++ Change History
%TABLE{columnwidths="7em" tablewidth="100%"}%
| 23 Jan 2017: | don't report back an url parameter in the error message |
| 02 Sep 2016: | added default english translation files |
| 13 Jun 2016: | fixed parsing of dates that are already epoch seconds; improved default settings of table layout |
| 25 May 2016: | updated to latest version of !DataTables |
Expand All @@ -214,7 +215,7 @@ Click on the table headers to sort the columns according to their data type.
%META:FIELD{name="Release" title="Release" value="%25$RELEASE%25"}%
%META:FIELD{name="Description" title="Description" value="%25$SHORTDESCRIPTION%25"}%
%META:FIELD{name="Repository" title="Repository" value="https://github.com/foswiki/%25TOPIC%25"}%
%META:FIELD{name="Copyright" title="Copyright" value="2012 SvenDowideit@fosiki.com, 2013-2016 Michael Daum http://michaeldaumconsulting.com"}%
%META:FIELD{name="Copyright" title="Copyright" value="2012 SvenDowideit@fosiki.com, 2013-2017 Michael Daum http://michaeldaumconsulting.com"}%
%META:FIELD{name="License" title="License" value="GPL ([[http://www.gnu.org/copyleft/gpl.html][GNU General Public License]])"}%
%META:FIELD{name="Home" title="Home" value="https://foswiki.org/Extensions/%25TOPIC%25"}%
%META:FIELD{name="Support" title="Support" value="https://foswiki.org/Support/%25TOPIC%25"}%
10 changes: 5 additions & 5 deletions lib/Foswiki/Plugins/JQDataTablesPlugin.pm
Expand Up @@ -12,8 +12,8 @@ use Foswiki::Plugins::JQueryPlugin ();
use Foswiki::Func ();
use Foswiki::AccessControlException ();

our $VERSION = '3.02';
our $RELEASE = '02 Sep 2016';
our $VERSION = '3.03';
our $RELEASE = '23 Jan 2017';
our $SHORTDESCRIPTION = 'JQuery based progressive enhancement of tables';

sub initPlugin {
Expand Down Expand Up @@ -66,13 +66,13 @@ sub restConnector {
|| $Foswiki::cfg{JQDataTablesPlugin}{ExternalConnectors}{$connectorID};

unless ($connectorClass) {
printRESTResult($response, 500, "ERROR: unknown connector $connectorID");
printRESTResult($response, 500, "ERROR: unknown connector");
return '';
}

eval "require $connectorClass";
if ($@) {
printRESTResult($response, 500, "ERROR: loading connector $connectorID - $@");
printRESTResult($response, 500, "ERROR: loading connector");
return '';
}

Expand Down Expand Up @@ -113,7 +113,7 @@ sub printRESTResult {
__END__
Plugin for Foswiki - The Free and Open Source Wiki, http://foswiki.org/
JQTablePlugin is copyright (C) 2012 SvenDowideit@fosiki.com, 2013-2016 Michael Daum http://michaeldaumconsulting.com
JQTablePlugin is copyright (C) 2012 SvenDowideit@fosiki.com, 2013-2017 Michael Daum http://michaeldaumconsulting.com
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
Expand Down
2 changes: 1 addition & 1 deletion lib/Foswiki/Plugins/JQDataTablesPlugin/Connector.pm
@@ -1,6 +1,6 @@
# Plugin for Foswiki - The Free and Open Source Wiki, http://foswiki.org/
#
# Copyright (C) 2014-2016 Michael Daum, http://michaeldaumconsulting.com
# Copyright (C) 2014-2017 Michael Daum, http://michaeldaumconsulting.com
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
Expand Down
2 changes: 1 addition & 1 deletion lib/Foswiki/Plugins/JQDataTablesPlugin/DBCacheConnector.pm
@@ -1,6 +1,6 @@
# Plugin for Foswiki - The Free and Open Source Wiki, http://foswiki.org/
#
# Copyright (C) 2014-2016 Michael Daum, http://michaeldaumconsulting.com
# Copyright (C) 2014-2017 Michael Daum, http://michaeldaumconsulting.com
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
Expand Down
2 changes: 1 addition & 1 deletion lib/Foswiki/Plugins/JQDataTablesPlugin/FoswikiConnector.pm
@@ -1,6 +1,6 @@
# Plugin for Foswiki - The Free and Open Source Wiki, http://foswiki.org/
#
# Copyright (C) 2014-2016 Michael Daum, http://michaeldaumconsulting.com
# Copyright (C) 2014-2017 Michael Daum, http://michaeldaumconsulting.com
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
Expand Down
2 changes: 1 addition & 1 deletion lib/Foswiki/Plugins/JQDataTablesPlugin/SearchConnector.pm
@@ -1,6 +1,6 @@
# Plugin for Foswiki - The Free and Open Source Wiki, http://foswiki.org/
#
# Copyright (C) 2016 Michael Daum, http://michaeldaumconsulting.com
# Copyright (C) 2016-2017 Michael Daum, http://michaeldaumconsulting.com
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
Expand Down
2 changes: 1 addition & 1 deletion lib/Foswiki/Plugins/JQDataTablesPlugin/SolrConnector.pm
@@ -1,6 +1,6 @@
# Plugin for Foswiki - The Free and Open Source Wiki, http://foswiki.org/
#
# Copyright (C) 2014-2016 Michael Daum, http://michaeldaumconsulting.com
# Copyright (C) 2014-2017 Michael Daum, http://michaeldaumconsulting.com
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
Expand Down
4 changes: 2 additions & 2 deletions pub/System/JQDataTablesPlugin/i18n/de.js
Expand Up @@ -3,8 +3,8 @@
"infoEmpty": "nichts gefunden",
"lengthMenu": "Ergebnisse pro Seite:",
"loadingRecords": "Lade ...",
"next": "Weiter",
"previous": "Zurück",
"next": "weiter",
"previous": "zurück",
"processing": "In Bearbeitung ...",
"search": "Suchen:",
"zeroRecords": "Keine passenden Daten gefunden"
Expand Down
2 changes: 1 addition & 1 deletion test/unit/JQDataTablesPlugin/JQDataTablesPluginSuite.pm
Expand Up @@ -17,7 +17,7 @@ Foswiki - The Free and Open Source Wiki, http://foswiki.org/
Author: SvenDowideit
Copyright (C) 2008-2016 Foswiki Contributors. Foswiki Contributors
Copyright (C) 2008-2017 Foswiki Contributors. Foswiki Contributors
are listed in the AUTHORS file in the root of this distribution.
NOTE: Please extend that file, not this notice.
Expand Down
2 changes: 1 addition & 1 deletion test/unit/JQDataTablesPlugin/JQDataTablesPluginTests.pm
Expand Up @@ -43,7 +43,7 @@ Foswiki - The Free and Open Source Wiki, http://foswiki.org/
Author: SvenDowideit
Copyright (C) 2008-2016 Foswiki Contributors. Foswiki Contributors
Copyright (C) 2008-2017 Foswiki Contributors. Foswiki Contributors
are listed in the AUTHORS file in the root of this distribution.
NOTE: Please extend that file, not this notice.
Expand Down

0 comments on commit 2ecb564

Please sign in to comment.