Skip to content

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

adding json editor

Ilian74b4a932a7c9
diff --git a/build.number b/build.number
index 959922dec..8845bb565 100644
--- a/build.number
+++ b/build.number
@@ -1,4 +1,4 @@
#Build Number for ANT. Do not edit!
-#Mon Sep 29 18:54:34 CEST 2014
-build.number=2186
+#Mon Sep 29 22:21:38 CEST 2014
+build.number=2189
3=
diff --git a/data/about.html b/data/about.html
index 675f66717..b56a5bbc0 100644
--- a/data/about.html
+++ b/data/about.html
@@ -77,6 +77,7 @@ Copyright (c) 2012-2014 The TagSpaces Authors. All rights reserved. Use of this
<li><a href="http://font.ubuntu.com/" target="_system">Ubuntu Font Family</a> used in the core - <a href="assets/ubuntu-font-licence-1.0.txt">Ubuntu Font License</a></li>
<li><a href="https://github.com/sara-nl/js-webdav-client" target="_system">js-webdav-client</a> used in the WebDav edition - <a href="https://raw.githubusercontent.com/sara-nl/js-webdav-client/master/COPYING.LESSER.txt">LGPL</a></li>
<li><a href="https://github.com/eligrey/FileSaver.js/" target="_system">filesaver.js</a> used for the CSV export - <a href="libs/filesaver.js/LICENSE%5Bmit%5D.md">License[MIT]</a></li>
+ <li><a href="https://github.com/josdejong/jsoneditor/" target="_system">jsoneditor</a> used for the editorJSON extension - <a href="ext/editorJSON/jsoneditor/LICENSE%5Bapache2%5D.txt">License[MIT]</a></li>
</ul>
</body>
</html>
\ No newline at end of file
diff --git a/default.settings.tmpl.js b/default.settings.tmpl.js
index 85715779b..9e9e07bc5 100644
--- a/default.settings.tmpl.js
+++ b/default.settings.tmpl.js
@@ -30,8 +30,8 @@ define(function (require, exports, module) {
"lastOpenedLocation": "",
"webDavPath" : "oc/remote.php/webdav",
"ootbPerspectives": [@@DEFAULTPERSPECTIVES],
- "ootbViewers": [ "viewerBrowser", "viewerMD", "viewerImage", "viewerPDF", "editorText", "viewerText", "editorODF", "viewerURL" ],
- "ootbEditors": [ "editorHTML", "editorText", "editorODF" ],
+ "ootbViewers": [ "viewerBrowser", "viewerMD", "viewerImage", "viewerPDF", "editorText", "viewerText", "editorODF", "viewerURL", "editorJSON" ],
+ "ootbEditors": [ "editorHTML", "editorText", "editorODF", "editorJSON" ],
"perspectives": [@@ACTIVATEDPERSPECTIVES],
"interfaceLanguage": "en_US",
"supportedLanguages": [
@@ -88,7 +88,7 @@ define(function (require, exports, module) {
{ "type": "txt", "viewer": "editorText", "editor": "editorText" },
{ "type": "xml", "viewer": "editorText", "editor": "editorText" },
{ "type": "js", "viewer": "editorText", "editor": "editorText" },
- { "type": "json", "viewer": "editorText", "editor": "editorText" },
+ { "type": "json", "viewer": "editorJSON", "editor": "editorJSON" },
{ "type": "css", "viewer": "editorText", "editor": "editorText" },
{ "type": "h", "viewer": "editorText", "editor": "editorText" },
{ "type": "c", "viewer": "editorText", "editor": "editorText" },
diff --git a/package.json b/package.json
index ba005cdcc..eee32f50b 100644
--- a/package.json
+++ b/package.json
@@ -5,7 +5,7 @@
"version": "1.8.6",
"mainversion": "1.8",
"subversion": "6",
- "buildid": "201409291854",
+ "buildid": "201409292221",
"fullName": "TagSpaces",
"id": "jid1-FBaMKxTifTSahQ",
"lib": "data/mozilla",
diff --git a/usedjslibs.md b/usedjslibs.md
index 4d0dfbf2c..6af3eb025 100644
--- a/usedjslibs.md
+++ b/usedjslibs.md
@@ -21,6 +21,7 @@
* jQuery Mousewheel - https://github.com/brandonaaron/jquery-mousewheel - https://github.com/brandonaaron/jquery-mousewheel/archive/3.1.6.zip
* filesaver.js - https://github.com/eligrey/FileSaver.js/ - https://raw.githubusercontent.com/eligrey/FileSaver.js/master/FileSaver.js
* bootstrap-validator - https://github.com/1000hz/bootstrap-validator - https://github.com/1000hz/bootstrap-validator/blob/v0.5.0/dist/validator.min.js
+* jsoneditor - https://github.com/josdejong/jsoneditor - https://raw.githubusercontent.com/josdejong/jsoneditor/v3.1.2/jsoneditor.js
* Voldsoftware Libs - https://github.com/voldsoftware/