Skip to content

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

parameterazing activated perspectives adding variable for webdav path

Ilianb28d2cb251bb
diff --git a/build.number b/build.number
index 9efd3e29f..3de942040 100644
--- a/build.number
+++ b/build.number
@@ -1,4 +1,4 @@
#Build Number for ANT. Do not edit!
-#Mon Jun 30 14:28:26 CEST 2014
-build.number=2134
+#Thu Jul 10 11:44:46 CEST 2014
+build.number=2142
3=
diff --git a/build.xml b/build.xml
index 1a8bb1539..0e7a1ee0d 100644
--- a/build.xml
+++ b/build.xml
@@ -17,8 +17,9 @@ found in the LICENSE file.
<replacefilter token="@@APPNAME" value="${appname}" />
<replacefilter token="@@BUILD" value="${subversion}" />
<replacefilter token="@@BID" value="${touch.time}" />
- <replacefilter token="@@DEFAULTLOCATIONS" value="" />
- <replacefilter token="@@DEFAULTPERSPECTIVES" value="'perspectiveList', 'perspectiveGrid', 'perspectiveGraph'" />
+ <replacefilter token="@@DEFAULTLOCATIONS" value="{'name': 'Android Photos', 'path': 'DCIM'},{'name': 'OC WebDav', 'path': 'oc/remote.php/webdav'}" />
+ <replacefilter token="@@DEFAULTPERSPECTIVES" value="'perspectiveList', 'perspectiveGrid', 'perspectiveGraph', 'perspectiveOCRO', 'perspectiveHealth'" />
+ <replacefilter token="@@ACTIVATEDPERSPECTIVES" value="{ 'id': 'perspectiveList' }, { 'id': 'perspectiveGrid' }, { 'id': 'perspectiveGraph' }, { 'id': 'perspectiveOCRO' }" />
<replacefilter token="@@PDFVIEWER" value="viewerBrowser" />
<replacefilter token="@@MHTVIEWER" value="viewerBrowser" />
</replace>
diff --git a/data/js/settings.default.js b/data/js/settings.default.js
index 0d9998d58..3a2e491c0 100644
--- a/data/js/settings.default.js
+++ b/data/js/settings.default.js
@@ -5,35 +5,34 @@ define(function (require, exports, module) {
"use strict";
exports.defaultSettings = {
- "appName": "TagSpaces",
- "appVersion": "1.8",
- "appBuild": "3",
- "appBuildID": "201406171120",
- "settingsVersion": 2,
- "newTextFileContent": "Created with TagSpaces",
- "newHTMLFileContent": "<html><head><title>Created with TagSpaces</title><meta http-equiv='Content-Type' content='text/html; charset=utf-8'></head><body></body></html>",
- "newMDFileContent": '#Created with TagSpaces',
- "showUnixHiddenEntries": false,
- "checkForUpdates": true,
- "firstRun": true,
- "lastOpenedDirectory": "",
- "tagspacesList": [],
- "extensionsPath": "ext",
+ "appName": "TagSpaces",
+ "appVersion": "1.8",
+ "appBuild": "4",
+ "appBuildID": "201407101144",
+ "settingsVersion": 2,
+ "newTextFileContent": "Created with TagSpaces",
+ "newHTMLFileContent": "<html><head><title>Created with TagSpaces</title><meta http-equiv='Content-Type' content='text/html; charset=utf-8'></head><body></body></html>",
+ "newMDFileContent": '#Created with TagSpaces',
+ "showUnixHiddenEntries": false,
+ "checkForUpdates": true,
+ "firstRun": true,
+ "lastOpenedDirectory": "",
+ "tagspacesList": [{'name': 'Android Photos', 'path': 'DCIM'},{'name': 'OC WebDav', 'path': 'oc/remote.php/webdav'}],
+ "extensionsPath": "ext",
"showWarningRecursiveScan": true,
- "prefixTagContainer": "",
- "tagDelimiter": " ",
- "calculateTags": false,
- "warnIncludeSubdirs": true,
- "isWindowMaximized": false,
- "showMainMenu": true,
- "lastOpenedLocation": "",
- "ootbPerspectives": ['perspectiveList', 'perspectiveGrid', 'perspectiveGraph'],
- "ootbViewers": [ "viewerBrowser", "viewerMD", "viewerImage", "viewerPDF", "editorText", "viewerText", "editorODF" ],
- "ootbEditors": [ "editorHTML", "editorText", "editorODF" ],
- "perspectives": [
- { "id": "perspectiveList" }, // ID should be equal to the directory name where the extension is located
- { "id": "perspectiveGrid" }
- ],
+ "prefixTagContainer": "",
+ "tagDelimiter": " ",
+ "calculateTags": false,
+ "loadLocationMeta": false,
+ "warnIncludeSubdirs": true,
+ "isWindowMaximized": false,
+ "showMainMenu": true,
+ "lastOpenedLocation": "",
+ "webDavPath" : "oc/remote.php/webdav",
+ "ootbPerspectives": ['perspectiveList', 'perspectiveGrid', 'perspectiveGraph', 'perspectiveOCRO', 'perspectiveHealth'],
+ "ootbViewers": [ "viewerBrowser", "viewerMD", "viewerImage", "viewerPDF", "editorText", "viewerText", "editorODF", "viewerURL" ],
+ "ootbEditors": [ "editorHTML", "editorText", "editorODF" ],
+ "perspectives": [{ 'id': 'perspectiveList' }, { 'id': 'perspectiveGrid' }, { 'id': 'perspectiveGraph' }, { 'id': 'perspectiveOCRO' }],
"interfaceLanguage": "en",
"supportedLanguages": [
{ "iso": "en", "title": "English" },
@@ -45,8 +44,7 @@ define(function (require, exports, module) {
{ "iso": "pt-BR", "title": "Português (Brazil)" },
{ "iso": "pt-PT", "title": "Português (Portugal)" },
{ "iso": "fr", "title": "Français (French)" },
- { "iso": "sk", "title": "Slovenský (Slovak - almost done)" },
- { "iso": "ru", "title": "Русский (Russian - help needed)" },
+ { "iso": "sk", "title": "Slovenský (Slovak)" },
{ "iso": "es", "title": "Español (Spanish - help needed)" }
],
"keyBindings": {
@@ -87,7 +85,6 @@ define(function (require, exports, module) {
{ "type": "xml", "viewer": "editorText", "editor": "editorText" },
{ "type": "js", "viewer": "editorText", "editor": "editorText" },
{ "type": "json", "viewer": "editorText", "editor": "editorText" },
- { "type": "url", "viewer": "editorText", "editor": "editorText" },
{ "type": "css", "viewer": "editorText", "editor": "editorText" },
{ "type": "h", "viewer": "editorText", "editor": "editorText" },
{ "type": "c", "viewer": "editorText", "editor": "editorText" },
@@ -129,7 +126,10 @@ define(function (require, exports, module) {
{ "type": "webm", "viewer": "viewerBrowser", "editor": "false" },
{ "type": "m4v", "viewer": "viewerBrowser", "editor": "false" },
{ "type": "m4a", "viewer": "viewerBrowser", "editor": "false" },
- { "type": "mov", "viewer": "viewerBrowser", "editor": "false" }
+ { "type": "mov", "viewer": "viewerBrowser", "editor": "false" },
+ { "type": "desktop","viewer": "viewerURL", "editor": "false" },
+ { "type": "website","viewer": "viewerURL", "editor": "false" },
+ { "type": "url", "viewer": "viewerURL", "editor": "false" }
],
"tagGroups": [
{
@@ -296,14 +296,7 @@ define(function (require, exports, module) {
"keyBinding": "t 5"
}
]
- },
- {
- "title": "Tags in Perspective",
- "key": "CTG",
- "expanded": true,
- "children": []
}
]
};
-
});
\ No newline at end of file
diff --git a/default.settings.tmpl.js b/default.settings.tmpl.js
index 3235aa59a..8e9493282 100644
--- a/default.settings.tmpl.js
+++ b/default.settings.tmpl.js
@@ -5,36 +5,34 @@ define(function (require, exports, module) {
"use strict";
exports.defaultSettings = {
- "appName": "@@APPNAME",
- "appVersion": "@@VERSION",
- "appBuild": "@@BUILD",
- "appBuildID": "@@BID",
- "settingsVersion": 2,
- "newTextFileContent": "Created with TagSpaces",
- "newHTMLFileContent": "<html><head><title>Created with TagSpaces</title><meta http-equiv='Content-Type' content='text/html; charset=utf-8'></head><body></body></html>",
- "newMDFileContent": '#Created with TagSpaces',
- "showUnixHiddenEntries": false,
- "checkForUpdates": true,
- "firstRun": true,
- "lastOpenedDirectory": "",
- "tagspacesList": [@@DEFAULTLOCATIONS],
- "extensionsPath": "ext",
+ "appName": "@@APPNAME",
+ "appVersion": "@@VERSION",
+ "appBuild": "@@BUILD",
+ "appBuildID": "@@BID",
+ "settingsVersion": 2,
+ "newTextFileContent": "Created with TagSpaces",
+ "newHTMLFileContent": "<html><head><title>Created with TagSpaces</title><meta http-equiv='Content-Type' content='text/html; charset=utf-8'></head><body></body></html>",
+ "newMDFileContent": '#Created with TagSpaces',
+ "showUnixHiddenEntries": false,
+ "checkForUpdates": true,
+ "firstRun": true,
+ "lastOpenedDirectory": "",
+ "tagspacesList": [@@DEFAULTLOCATIONS],
+ "extensionsPath": "ext",
"showWarningRecursiveScan": true,
- "prefixTagContainer": "",
- "tagDelimiter": " ",
- "calculateTags": false,
- "loadLocationMeta": false,
- "warnIncludeSubdirs": true,
- "isWindowMaximized": false,
- "showMainMenu": true,
- "lastOpenedLocation": "",
- "ootbPerspectives": [@@DEFAULTPERSPECTIVES],
- "ootbViewers": [ "viewerBrowser", "viewerMD", "viewerImage", "viewerPDF", "editorText", "viewerText", "editorODF" ],
- "ootbEditors": [ "editorHTML", "editorText", "editorODF" ],
- "perspectives": [
- { "id": "perspectiveList" }, // ID should be equal to the directory name where the extension is located
- { "id": "perspectiveGrid" }
- ],
+ "prefixTagContainer": "",
+ "tagDelimiter": " ",
+ "calculateTags": false,
+ "loadLocationMeta": false,
+ "warnIncludeSubdirs": true,
+ "isWindowMaximized": false,
+ "showMainMenu": true,
+ "lastOpenedLocation": "",
+ "webDavPath" : "oc/remote.php/webdav",
+ "ootbPerspectives": [@@DEFAULTPERSPECTIVES],
+ "ootbViewers": [ "viewerBrowser", "viewerMD", "viewerImage", "viewerPDF", "editorText", "viewerText", "editorODF", "viewerURL" ],
+ "ootbEditors": [ "editorHTML", "editorText", "editorODF" ],
+ "perspectives": [@@ACTIVATEDPERSPECTIVES],
"interfaceLanguage": "en",
"supportedLanguages": [
{ "iso": "en", "title": "English" },
@@ -46,8 +44,7 @@ define(function (require, exports, module) {
{ "iso": "pt-BR", "title": "Português (Brazil)" },
{ "iso": "pt-PT", "title": "Português (Portugal)" },
{ "iso": "fr", "title": "Français (French)" },
- { "iso": "sk", "title": "Slovenský (Slovak - almost done)" },
- { "iso": "ru", "title": "Русский (Russian - help needed)" },
+ { "iso": "sk", "title": "Slovenský (Slovak)" },
{ "iso": "es", "title": "Español (Spanish - help needed)" }
],
"keyBindings": {
@@ -88,7 +85,6 @@ define(function (require, exports, module) {
{ "type": "xml", "viewer": "editorText", "editor": "editorText" },
{ "type": "js", "viewer": "editorText", "editor": "editorText" },
{ "type": "json", "viewer": "editorText", "editor": "editorText" },
- { "type": "url", "viewer": "editorText", "editor": "editorText" },
{ "type": "css", "viewer": "editorText", "editor": "editorText" },
{ "type": "h", "viewer": "editorText", "editor": "editorText" },
{ "type": "c", "viewer": "editorText", "editor": "editorText" },
@@ -130,7 +126,10 @@ define(function (require, exports, module) {
{ "type": "webm", "viewer": "viewerBrowser", "editor": "false" },
{ "type": "m4v", "viewer": "viewerBrowser", "editor": "false" },
{ "type": "m4a", "viewer": "viewerBrowser", "editor": "false" },
- { "type": "mov", "viewer": "viewerBrowser", "editor": "false" }
+ { "type": "mov", "viewer": "viewerBrowser", "editor": "false" },
+ { "type": "desktop","viewer": "viewerURL", "editor": "false" },
+ { "type": "website","viewer": "viewerURL", "editor": "false" },
+ { "type": "url", "viewer": "viewerURL", "editor": "false" }
],
"tagGroups": [
{
@@ -297,14 +296,7 @@ define(function (require, exports, module) {
"keyBinding": "t 5"
}
]
- },
- {
- "title": "Tags in Perspective",
- "key": "CTG",
- "expanded": true,
- "children": []
}
]
};
-
});
\ No newline at end of file