Skip to content

TagSpaces is an offline, open source, document manager with tagging support

updates for the new libraries

Ilian64b34943bf9c
diff --git a/data/about.html b/data/about.html
index 8e7a520b5..104850acc 100644
--- a/data/about.html
+++ b/data/about.html
@@ -37,6 +37,10 @@ TagSpaces thankfully relays on the followings javascript libraries:
<li>JSONEditor - <a href="http://jsoneditoronline.org/" target="_new">Homepage</a>&nbsp;<a href="libs/jsoneditor/LICENSE[Apache 2.0]">License[Apache2]</a></li>
<li>RequireJS - <a href="http://requirejs.org" target="_new">Homepage</a>&nbsp;<a href="libs/requirejs/MIT-LICENSE.txt">License[MIT]</a></li>
<li>UnderscoreJS - <a href="http://underscorejs.org" target="_new">Homepage</a>&nbsp;<a href="libs/underscore/LICENSE[MIT].txt">License[MIT]</a></li>
+<li>jQuery Hotkeys - <a href="https://github.com/jeresig/jquery.hotkeys" target="_new">Homepage</a>&nbsp;<a href="http://opensource.org/licenses/MIT">License[MIT]</a></li>
+<li>i18next - <a href="http://i18next.com/" target="_new">Homepage</a>&nbsp;<a href="libs/i18next/license.txt">License</a></li>
+<li>hammerjs - <a href="http://eightmedia.github.io/hammer.js/" target="_new">Homepage</a>&nbsp;<a href="libs/hammerjs/LICENSE.txt">License[MIT]</a></li>
+<li>Select2 - <a href="http://ivaynberg.github.io/select2/" target="_new">Homepage</a>&nbsp;<a href="libs/select2/LICENSE[apache].txt">License[Apache]</a></li>
<!--li>Less - <a href="http://www.lesscss.de/" target="_new">Homepage</a>&nbsp;<a href="libs/less/APACHE2.0.txt">License[Apache2]</a></li-->
<li>Voldsoftware Libs (firefox only)- <a href="https://github.com/voldsoftware/" target="_new">Homepage</a>&nbsp;License[MPL/MIT]</li>
<li>node-webkit (standalone release only) - <a href="https://github.com/rogerwang/node-webkit" target="_new">Homepage</a>&nbsp;License[MIT]</li>
@@ -49,6 +53,8 @@ Javascript libraries used in the various TagSpaces extensions:
<li>D3.js (used in perspectiveGraph extension)- <a href="http://d3js.org/" target="_new">Homepage</a>&nbsp;<a href="ext/perspectiveGraph/d3/LICENSE">License[BSD]</a></li>
<li>Showdown (used in viewerMD extension)- <a href="https://github.com/coreyti/showdown" target="_new">Homepage</a>&nbsp;<a href="ext/viewerMD/showdown/license.txt">License</a></li>
<li>Pixastic (used in viewerImage extension)- <a href="http://www.pixastic.com/" target="_new">Homepage</a>&nbsp;<a href="ext/viewerImage/pixastic/license.txt">License[MPL]</a></li>
+<li>jQuery Panzoom (used in viewerImage extension)- <a href="https://github.com/timmywil/jquery.panzoom" target="_new">Homepage</a>&nbsp;<a href="ext/viewerImage/jquery.panzoom/MIT-License.txt">License[MIT]</a></li>
+<li>jQuery Mousewheel (used in viewerImage extension)- <a href="https://github.com/brandonaaron/jquery-mousewheel" target="_new">Homepage</a>&nbsp;<a href="ext/viewerImage/jquery.mousewheel/LICENSE.txt">License[MIT]</a></li>
</ul>
</body>
</html>
\ No newline at end of file
diff --git a/data/libs/i18next/license.txt b/data/libs/i18next/license.txt
new file mode 100644
index 000000000..d88a4e649
--- /dev/null
+++ b/data/libs/i18next/license.txt
@@ -0,0 +1,19 @@
+Copyright (c) 2011 Jan Mühlemann
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/data/libs/select2/LICENSE[apache] b/data/libs/select2/LICENSE[apache].txt
similarity index 100%
rename from data/libs/select2/LICENSE[apache]
rename to data/libs/select2/LICENSE[apache].txt
diff --git a/data/loader.js b/data/loader.js
index 8dbac0ffb..0478f23d7 100644
--- a/data/loader.js
+++ b/data/loader.js
@@ -55,6 +55,7 @@ requirejs.config({
map: {
'*': {
'css': 'libs/requirecss/css',
+ 'text': 'libs/requiretext/text',
}
},
paths: {
@@ -82,6 +83,7 @@ requirejs.config({
i18next: 'libs/i18next/i18next.amd.withJQuery-1.7.1',
jqueryhotkeys: 'libs/jqueryhotkeys/jquery.hotkeys',
select2: 'libs/select2/select2',
+ hammerjs: 'libs/hammerjs/jquery.hammer',
tscore: 'js/core.api',
tssetting: 'js/settings.api',
@@ -116,6 +118,7 @@ requirejs.config({
'datatables': { deps: ['jquery'] },
'jquerynanoscroller': { deps: ['jquery'] },
'select2': { deps: ['jquery'] },
+ 'hammerjs': { deps: ['jquery'] },
'jqueryhotkeys': { deps: ['jquery'] },
'tscore': { deps: [
'jquery',
@@ -126,6 +129,7 @@ requirejs.config({
'jqueryuiposition',
'jqueryuiselectable',
'jqueryuisortable',
+ 'hammerjs',
'bootstrap',
'jquerysimplecolorpicker',
'jquerylayout',