Skip to content

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

increasing the build number adding default styles for new html files

uggrock341ef7688097
diff --git a/build.number b/build.number
index c7983d285..206d6f1b5 100644
--- a/build.number
+++ b/build.number
@@ -1,4 +1,4 @@
#Build Number for ANT. Do not edit!
-#Wed Oct 29 21:35:29 CET 2014
-build.number=2212
+#Fri Nov 14 19:25:56 CET 2014
+build.number=2250
3=
diff --git a/data/js/settings.default.js b/data/js/settings.default.js
index 1ce41ce62..2eb54a560 100644
--- a/data/js/settings.default.js
+++ b/data/js/settings.default.js
@@ -7,11 +7,11 @@ define(function (require, exports, module) {
exports.defaultSettings = {
"appName": "TagSpaces",
"appVersion": "1.8",
- "appBuild": "7",
- "appBuildID": "201410021208",
+ "appBuild": "8",
+ "appBuildID": "201411141925",
"settingsVersion": 2,
"newTextFileContent": "",
- "newHTMLFileContent": "<html><head><title>Created with TagSpaces</title><meta http-equiv='Content-Type' content='text/html; charset=utf-8'></head><body></body></html>",
+ "newHTMLFileContent": "<!DOCTYPE html><html><head><!-- Created with TagSpaces 1.8.8 --><meta http-equiv='Content-Type' content='text/html; charset=utf-8'><style type='text/css'>body{overflow:auto;width:100%;height:100%;font:13.34px Ubuntu,arial,clean,sans-serif;color:#000;line-height:1.4em;background-color:#fff;padding:0}p{margin:1em 0;line-height:1.5em}table{font:100%;margin:1em}table th{border-bottom:1px solid #bbb;padding:.2em 1em}table td{border-bottom:1px solid #ddd;padding:.2em 1em}input[type=image],input[type=password],input[type=text],textarea{font:99% helvetica,arial,freesans,sans-serif}option,select{padding:0 .25em}optgroup{margin-top:.5em}code,pre{font:12px Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace}pre{margin:1em 0;font-size:12px;background-color:#eee;border:1px solid #ddd;padding:5px;line-height:1.5em;color:#444;overflow:auto;-webkit-box-shadow:rgba(0,0,0,.07) 0 1px 2px inset;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}pre code{padding:0;font-size:12px;background-color:#eee;border:none}code{font-size:12px;background-color:#f8f8ff;color:#444;padding:0 .2em;border:1px solid #dedede}img{border:0;max-width:100%}abbr{border-bottom:none}a{color:#4183c4;text-decoration:none}a:hover{text-decoration:underline}a code,a:link code,a:visited code{color:#4183c4}h2,h3{margin:1em 0}h1,h2,h3,h4,h5,h6{border:0}h1{font-size:170%;border-top:4px solid #aaa;padding-top:.5em;margin-top:1.5em}h1:first-child{margin-top:0;padding-top:.25em;border-top:none}h2{font-size:150%;margin-top:1.5em;border-top:4px solid #e0e0e0;padding-top:.5em}h3{font-size:130%;margin-top:1em}h4{font-size:120%;margin-top:1em}h5{font-size:115%;margin-top:1em}h6{font-size:110%;margin-top:1em}hr{border:1px solid #ddd}ol,ul{margin:1em 0 1em 2em}ol li,ul li{margin-top:.5em;margin-bottom:.5em}ol ol,ol ul,ul ol,ul ul{margin-top:0;margin-bottom:0}blockquote{margin:1em 0;border-left:5px solid #ddd;padding-left:.6em;color:#555}dt{font-weight:700;margin-left:1em}dd{margin-left:2em;margin-bottom:1em}</style></head><body></body></html>",
"newMDFileContent": '',
"showUnixHiddenEntries": false,
"checkForUpdates": true,
@@ -30,7 +30,7 @@ define(function (require, exports, module) {
"lastOpenedLocation": "",
"webDavPath" : "oc/remote.php/webdav",
"ootbPerspectives": ['perspectiveList', 'perspectiveGrid', 'perspectiveGraph', 'perspectiveOCRO', 'perspectiveHealth'],
- "ootbViewers": [ "viewerBrowser", "viewerMD", "viewerImage", "viewerPDF", "editorText", "viewerText", "editorODF", "viewerURL", "editorJSON" ],
+ "ootbViewers": [ "viewerBrowser", "viewerMD", "viewerImage", "viewerPDF", "editorText", "viewerText", "editorODF", "viewerURL", "viewerHTML", "editorJSON" ],
"ootbEditors": [ "editorHTML", "editorText", "editorODF", "editorJSON" ],
"perspectives": [{ 'id': 'perspectiveList' }, { 'id': 'perspectiveGrid' }, { 'id': 'perspectiveGraph' }, { 'id': 'perspectiveOCRO' }],
"interfaceLanguage": "en_US",
@@ -76,9 +76,9 @@ define(function (require, exports, module) {
{ "type": "bmp", "viewer": "viewerImage", "editor": "false" },
{ "type": "svg", "viewer": "viewerImage", "editor": "editorText" },
{ "type": "pdf", "viewer": "viewerBrowser", "editor": "false" },
- { "type": "html", "viewer": "viewerBrowser", "editor": "editorHTML" },
- { "type": "htm", "viewer": "viewerBrowser", "editor": "editorHTML" },
- { "type": "xhtml", "viewer": "viewerBrowser", "editor": "editorText" },
+ { "type": "html", "viewer": "viewerHTML", "editor": "editorHTML" },
+ { "type": "htm", "viewer": "viewerHTML", "editor": "editorHTML" },
+ { "type": "xhtml", "viewer": "viewerHTML", "editor": "editorText" },
{ "type": "mht", "viewer": "viewerBrowser", "editor": "false" },
{ "type": "mhtml", "viewer": "viewerBrowser", "editor": "false" },
{ "type": "odt", "viewer": "editorODF", "editor": "false" },
diff --git a/default.settings.tmpl.js b/default.settings.tmpl.js
index 9e9e07bc5..8359bd479 100644
--- a/default.settings.tmpl.js
+++ b/default.settings.tmpl.js
@@ -11,7 +11,7 @@ define(function (require, exports, module) {
"appBuildID": "@@BID",
"settingsVersion": 2,
"newTextFileContent": "",
- "newHTMLFileContent": "<html><head><title>Created with TagSpaces</title><meta http-equiv='Content-Type' content='text/html; charset=utf-8'></head><body></body></html>",
+ "newHTMLFileContent": "<!DOCTYPE html><html><head><!-- Created with @@APPNAME @@VERSION.@@BUILD --><meta http-equiv='Content-Type' content='text/html; charset=utf-8'><style type='text/css'>body{overflow:auto;width:100%;height:100%;font:13.34px Ubuntu,arial,clean,sans-serif;color:#000;line-height:1.4em;background-color:#fff;padding:0}p{margin:1em 0;line-height:1.5em}table{font:100%;margin:1em}table th{border-bottom:1px solid #bbb;padding:.2em 1em}table td{border-bottom:1px solid #ddd;padding:.2em 1em}input[type=image],input[type=password],input[type=text],textarea{font:99% helvetica,arial,freesans,sans-serif}option,select{padding:0 .25em}optgroup{margin-top:.5em}code,pre{font:12px Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace}pre{margin:1em 0;font-size:12px;background-color:#eee;border:1px solid #ddd;padding:5px;line-height:1.5em;color:#444;overflow:auto;-webkit-box-shadow:rgba(0,0,0,.07) 0 1px 2px inset;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}pre code{padding:0;font-size:12px;background-color:#eee;border:none}code{font-size:12px;background-color:#f8f8ff;color:#444;padding:0 .2em;border:1px solid #dedede}img{border:0;max-width:100%}abbr{border-bottom:none}a{color:#4183c4;text-decoration:none}a:hover{text-decoration:underline}a code,a:link code,a:visited code{color:#4183c4}h2,h3{margin:1em 0}h1,h2,h3,h4,h5,h6{border:0}h1{font-size:170%;border-top:4px solid #aaa;padding-top:.5em;margin-top:1.5em}h1:first-child{margin-top:0;padding-top:.25em;border-top:none}h2{font-size:150%;margin-top:1.5em;border-top:4px solid #e0e0e0;padding-top:.5em}h3{font-size:130%;margin-top:1em}h4{font-size:120%;margin-top:1em}h5{font-size:115%;margin-top:1em}h6{font-size:110%;margin-top:1em}hr{border:1px solid #ddd}ol,ul{margin:1em 0 1em 2em}ol li,ul li{margin-top:.5em;margin-bottom:.5em}ol ol,ol ul,ul ol,ul ul{margin-top:0;margin-bottom:0}blockquote{margin:1em 0;border-left:5px solid #ddd;padding-left:.6em;color:#555}dt{font-weight:700;margin-left:1em}dd{margin-left:2em;margin-bottom:1em}</style></head><body></body></html>",
"newMDFileContent": '',
"showUnixHiddenEntries": false,
"checkForUpdates": true,
@@ -30,7 +30,7 @@ define(function (require, exports, module) {
"lastOpenedLocation": "",
"webDavPath" : "oc/remote.php/webdav",
"ootbPerspectives": [@@DEFAULTPERSPECTIVES],
- "ootbViewers": [ "viewerBrowser", "viewerMD", "viewerImage", "viewerPDF", "editorText", "viewerText", "editorODF", "viewerURL", "editorJSON" ],
+ "ootbViewers": [ "viewerBrowser", "viewerMD", "viewerImage", "viewerPDF", "editorText", "viewerText", "editorODF", "viewerURL", "viewerHTML", "editorJSON" ],
"ootbEditors": [ "editorHTML", "editorText", "editorODF", "editorJSON" ],
"perspectives": [@@ACTIVATEDPERSPECTIVES],
"interfaceLanguage": "en_US",
@@ -76,9 +76,9 @@ define(function (require, exports, module) {
{ "type": "bmp", "viewer": "viewerImage", "editor": "false" },
{ "type": "svg", "viewer": "viewerImage", "editor": "editorText" },
{ "type": "pdf", "viewer": "@@PDFVIEWER", "editor": "false" },
- { "type": "html", "viewer": "viewerBrowser", "editor": "editorHTML" },
- { "type": "htm", "viewer": "viewerBrowser", "editor": "editorHTML" },
- { "type": "xhtml", "viewer": "viewerBrowser", "editor": "editorText" },
+ { "type": "html", "viewer": "viewerHTML", "editor": "editorHTML" },
+ { "type": "htm", "viewer": "viewerHTML", "editor": "editorHTML" },
+ { "type": "xhtml", "viewer": "viewerHTML", "editor": "editorText" },
{ "type": "mht", "viewer": "@@MHTVIEWER", "editor": "false" },
{ "type": "mhtml", "viewer": "@@MHTVIEWER", "editor": "false" },
{ "type": "odt", "viewer": "editorODF", "editor": "false" },
diff --git a/package.json b/package.json
index f91646925..2fa1aaabc 100644
--- a/package.json
+++ b/package.json
@@ -2,10 +2,10 @@
"name": "tagspaces",
"license": "AGPL 3.0",
"author": "TagSpaces Authors",
- "version": "1.8.7",
+ "version": "1.8.8",
"mainversion": "1.8",
- "subversion": "7",
- "buildid": "201410021211",
+ "subversion": "8",
+ "buildid": "201411141925",
"fullName": "TagSpaces",
"id": "jid1-FBaMKxTifTSahQ",
"lib": "data/mozilla",