Permalink
Browse files

Item14223: preparing new release

Item14357: fixed typo in WebDAV urls
  • Loading branch information...
1 parent d3e63c5 commit 6c8d53d12b14969587b25cf337e9a2948dac4ebc MichaelDaum committed Sep 13, 2017
Showing with 2,589 additions and 93,822 deletions.
  1. +1 −0 .gitignore
  2. +2 −0 data/System/TopicInteractionPlugin.txt
  3. +3 −3 lib/Foswiki/Plugins/TopicInteractionPlugin.pm
  4. +1 −1 lib/Foswiki/Plugins/TopicInteractionPlugin/Action.pm
  5. +1 −1 lib/Foswiki/Plugins/TopicInteractionPlugin/Action/ChangeProperties.pm
  6. +1 −1 lib/Foswiki/Plugins/TopicInteractionPlugin/Action/CreateImageGallery.pm
  7. +1 −1 lib/Foswiki/Plugins/TopicInteractionPlugin/Action/CreateLinks.pm
  8. +1 −1 lib/Foswiki/Plugins/TopicInteractionPlugin/Action/DeleteAttachment.pm
  9. +1 −1 lib/Foswiki/Plugins/TopicInteractionPlugin/Action/DownloadAttachment.pm
  10. +1 −1 lib/Foswiki/Plugins/TopicInteractionPlugin/Action/HideAttachment.pm
  11. +1 −1 lib/Foswiki/Plugins/TopicInteractionPlugin/Action/MoveAttachment.pm
  12. +1 −1 lib/Foswiki/Plugins/TopicInteractionPlugin/Action/UnhideAttachment.pm
  13. +1 −1 lib/Foswiki/Plugins/TopicInteractionPlugin/Action/UploadAttachment.pm
  14. +3 −3 lib/Foswiki/Plugins/TopicInteractionPlugin/Attachments.pm
  15. +1 −1 lib/Foswiki/Plugins/TopicInteractionPlugin/Core.pm
  16. +1 −0 lib/Foswiki/Plugins/TopicInteractionPlugin/MANIFEST
  17. +2 −2 lib/Foswiki/Plugins/TopicInteractionPlugin/WebDAVUrl.pm
  18. +97 −90 locale/TopicInteractionPlugin/Foswiki.pot
  19. +100 −3,265 locale/TopicInteractionPlugin/bg.po
  20. +100 −5,148 locale/TopicInteractionPlugin/cs.po
  21. +100 −4,571 locale/TopicInteractionPlugin/da.po
  22. +97 −89 locale/TopicInteractionPlugin/de.po
  23. +100 −3,931 locale/TopicInteractionPlugin/el.po
  24. +100 −5,480 locale/TopicInteractionPlugin/es.po
  25. +100 −3,988 locale/TopicInteractionPlugin/fi.po
  26. +100 −5,141 locale/TopicInteractionPlugin/fr.po
  27. +100 −5,044 locale/TopicInteractionPlugin/it.po
  28. +100 −4,823 locale/TopicInteractionPlugin/ja.po
  29. +100 −2,019 locale/TopicInteractionPlugin/ko.po
  30. +100 −4,313 locale/TopicInteractionPlugin/nl.po
  31. +100 −4,270 locale/TopicInteractionPlugin/no.po
  32. +100 −5,452 locale/TopicInteractionPlugin/pl.po
  33. +100 −4,518 locale/TopicInteractionPlugin/pt-br.po
  34. +100 −4,009 locale/TopicInteractionPlugin/pt.po
  35. +100 −4,321 locale/TopicInteractionPlugin/ru.po
  36. +100 −4,111 locale/TopicInteractionPlugin/sv.po
  37. +100 −4,118 locale/TopicInteractionPlugin/tlh.po
  38. +99 −1,428 locale/TopicInteractionPlugin/tr.po
  39. +100 −5,108 locale/TopicInteractionPlugin/uk.po
  40. +100 −3,737 locale/TopicInteractionPlugin/zh-cn.po
  41. +100 −4,552 locale/TopicInteractionPlugin/zh-tw.po
  42. +1 −1 pub/System/TopicInteractionPlugin/detectos.uncompressed.js
  43. +7 −60 pub/System/TopicInteractionPlugin/foswiki.attachments.uncompressed.js
  44. +29 −14 pub/System/TopicInteractionPlugin/foswiki.fileupload.uncompressed.js
  45. +0 −1 pub/System/TopicInteractionPlugin/i18n/de.js
  46. +0 −1 pub/System/TopicInteractionPlugin/i18n/en.js
  47. +10 −10 pub/System/TopicInteractionPlugin/metadata.uncompressed.css
  48. +9 −62 pub/System/TopicInteractionPlugin/metadata.uncompressed.js
  49. +29 −14 pub/System/TopicInteractionPlugin/uploader.uncompressed.js
  50. +1 −1 pub/System/TopicInteractionPlugin/webdav.uncompressed.js
  51. +2 −2 templates/attach.topicinteraction.tmpl
  52. +83 −107 templates/metadata.tmpl
  53. +2 −4 templates/view.topicinteraction.tmpl
View
@@ -18,3 +18,4 @@ pub/System/TopicInteractionPlugin/uploader.js
/TopicInteractionPlugin.zip
/TopicInteractionPlugin_installer
/TopicInteractionPlugin_installer.pl
+locale/**/*.mo
@@ -64,6 +64,7 @@ limit the number of attachments to be listed.
| ="<topic>"= | topic whos attachments we want to query |
| =attr="..."= | match the attachments' attribute |
| =autoattached="yes,no,undef"= | limit attachments to those that are (not) autoattached |
+| =casesensitive="on/off"= | specify string comparison mode when filtering attachments, defaults to =on= |
| =comment="..."= | match the attachments' comment |
| =maxdate="..."= | specify latest attachment |
| =maxsize="..."= | specify biggest attachment |
@@ -149,6 +150,7 @@ generates:
---++ Change History
%TABLE{columnwidths="7em" tablewidth="100%"}%
+| 13 Sep 2017: | replace outdated plupload uploader with jquery-file-upload |
| 18 Nov 2016: | oo-ified core; \
added humanized file size display, removed flash backend from default; \
improved webdav integration for one-click editing office documents; \
@@ -1,6 +1,6 @@
# Plugin for Foswiki - The Free and Open Source Wiki, http://foswiki.org/
#
-# Copyright (C) 2009-2016 Michael Daum http://michaeldaumconsulting.com
+# Copyright (C) 2009-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
@@ -18,8 +18,8 @@ package Foswiki::Plugins::TopicInteractionPlugin;
use strict;
use warnings;
-our $VERSION = '5.99';
-our $RELEASE = '22 Nov 2016';
+our $VERSION = '6.00';
+our $RELEASE = '13 Sep 2017';
our $SHORTDESCRIPTION = 'Improved interaction with attachments and !DataForms';
our $NO_PREFS_IN_TOPIC = 1;
our $core;
@@ -1,6 +1,6 @@
# Plugin for Foswiki - The Free and Open Source Wiki, http://foswiki.org/
#
-# Copyright (C) 2010-2016 Michael Daum, http://michaeldaumconsulting.com
+# Copyright (C) 2010-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
@@ -1,6 +1,6 @@
# Plugin for Foswiki - The Free and Open Source Wiki, http://foswiki.org/
#
-# Copyright (C) 2010-2016 Michael Daum, http://michaeldaumconsulting.com
+# Copyright (C) 2010-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
@@ -1,6 +1,6 @@
# Plugin for Foswiki - The Free and Open Source Wiki, http://foswiki.org/
#
-# Copyright (C) 2010-2016 Michael Daum, http://michaeldaumconsulting.com
+# Copyright (C) 2010-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
@@ -1,6 +1,6 @@
# Plugin for Foswiki - The Free and Open Source Wiki, http://foswiki.org/
#
-# Copyright (C) 2010-2016 Michael Daum, http://michaeldaumconsulting.com
+# Copyright (C) 2010-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
@@ -1,6 +1,6 @@
# Plugin for Foswiki - The Free and Open Source Wiki, http://foswiki.org/
#
-# Copyright (C) 2010-2016 Michael Daum http://michaeldaumconsulting.com
+# Copyright (C) 2010-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
@@ -1,6 +1,6 @@
# Plugin for Foswiki - The Free and Open Source Wiki, http://foswiki.org/
#
-# Copyright (C) 2010-2016 Michael Daum, http://michaeldaumconsulting.com
+# Copyright (C) 2010-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
@@ -1,6 +1,6 @@
# Plugin for Foswiki - The Free and Open Source Wiki, http://foswiki.org/
#
-# Copyright (C) 2010-2016 Michael Daum, http://michaeldaumconsulting.com
+# Copyright (C) 2010-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
@@ -1,6 +1,6 @@
# Plugin for Foswiki - The Free and Open Source Wiki, http://foswiki.org/
#
-# Copyright (C) 2010-2016 Michael Daum, http://michaeldaumconsulting.com
+# Copyright (C) 2010-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
@@ -1,6 +1,6 @@
# Plugin for Foswiki - The Free and Open Source Wiki, http://foswiki.org/
#
-# Copyright (C) 2010-2016 Michael Daum, http://michaeldaumconsulting.com
+# Copyright (C) 2010-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
@@ -1,6 +1,6 @@
# Plugin for Foswiki - The Free and Open Source Wiki, http://foswiki.org/
#
-# Copyright (C) 2010-2016 Michael Daum, http://michaeldaumconsulting.com
+# Copyright (C) 2010-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
@@ -1,6 +1,6 @@
# Plugin for Foswiki - The Free and Open Source Wiki, http://foswiki.org/
#
-# Copyright (C) 2005-2016 Michael Daum http://michaeldaumconsulting.com
+# Copyright (C) 2005-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
@@ -219,7 +219,7 @@ sub handle {
my $thisWebDavUrl = $webDavUrl;
$thisWebDavUrl =~ s/\$attachment/$encName/g;
- my $webDavAction = '<a rel="nofollow" href="' . $thisWebDavUrl . '" ' . 'title="%MATETEXT{"Edit this attachment" args="<nop>' . $info->{name} . '"}%">' . '%MAKETEXT{"edit"}%</a>';
+ my $webDavAction = '<a rel="nofollow" href="' . $thisWebDavUrl . '" ' . 'title="%MAKETEXT{"Edit this attachment" args="<nop>' . $info->{name} . '"}%">' . '%MAKETEXT{"edit"}%</a>';
my $propsUrl = '%SCRIPTURLPATH{"attach"}%/' . $thisWeb . '/' . $thisTopic . '?filename=' . $encName . '&revInfo=1';
my $propsAction = '<a rel="nofollow" href="' . $propsUrl . '" ' . 'title="%MAKETEXT{"Manage properties of [_1]" args="<nop>' . $info->{name} . '"}%">' . '%MAKETEXT{"props"}%</a>';
@@ -313,7 +313,7 @@ sub urlEncode {
return $text unless $text;
$text = Encode::encode_utf8($text) if $Foswiki::UNICODE;
- $text =~ s/([^0-9a-zA-Z-_.:~!*\/])/sprintf('%%<nop>%02X',ord($1))/ge;
+ $text =~ s/([^0-9a-zA-Z-_.:~!*\/])/sprintf('%%%02X',ord($1))/ge;
return $text;
}
@@ -1,6 +1,6 @@
# Plugin for Foswiki - The Free and Open Source Wiki, http://foswiki.org/
#
-# Copyright (C) 2010-2016 Michael Daum http://michaeldaumconsulting.com
+# Copyright (C) 2010-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
@@ -1,3 +1,4 @@
+!noci
data/System/TopicInteractionPlugin.txt 0644
lib/Foswiki/Plugins/TopicInteractionPlugin/Action/ChangeProperties.pm 0644
lib/Foswiki/Plugins/TopicInteractionPlugin/Action/CreateImageGallery.pm 0644
@@ -1,6 +1,6 @@
# Plugin for Foswiki - The Free and Open Source Wiki, http://foswiki.org/
#
-# Copyright (C) 2005-2016 Michael Daum, http://michaeldaumconsulting.com
+# Copyright (C) 2005-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
@@ -39,7 +39,7 @@ sub handle {
$url =~ s/\$attachment/$encName/g;
- my $result = '<a rel="nofollow" href="' . $url . '" ' . 'title="%MATETEXT{"Edit this attachment" args="<nop>' . $info->{name} . '"}%">' . '%MAKETEXT{"edit"}%</a>';
+ my $result = '<a rel="nofollow" href="' . $url . '" ' . 'title="%MAKETEXT{"Edit this attachment" args="<nop>' . $info->{name} . '"}%">' . '%MAKETEXT{"edit"}%</a>';
return $result;
}
Oops, something went wrong.

0 comments on commit 6c8d53d

Please sign in to comment.