1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-08 23:15:29 +02:00
This commit is contained in:
Harvey Kandola 2016-07-04 14:11:19 -07:00
parent 53405cc9ab
commit 1cb7121401
4 changed files with 52 additions and 44 deletions

View file

@ -1,30 +1,37 @@
{ {
"css": { "css": {
"indent_size": 4, "indent_size": 4,
"indent_level": 0,
"indent_with_tabs": true
"allowed_file_extensions": ["css", "scss", "sass", "less"] "allowed_file_extensions": ["css", "scss", "sass", "less"]
"max_preserve_newlines": 2,
}, },
"html": { "html": {
"indent_size": 4, "indent_size": 4,
"indent_char": " ", "indent_level": 0,
"indent_with_tabs": true
"preserve_newlines": true, "preserve_newlines": true,
"max_preserve_newlines": 2,
"wrap_line_length": 0, "wrap_line_length": 0,
"indent_handlebars": true, "indent_handlebars": true,
"indent_inner_html": false, "indent_inner_html": false,
"indent_scripts": "keep" "indent_scripts": "keep"
}, },
"hbs": { "hbs": {
"indent_size": 4, "indent_size": 4,
"indent_char": " ", "indent_level": 0,
"indent_with_tabs": true
"max_preserve_newlines": 2,
"preserve_newlines": true, "preserve_newlines": true,
"wrap_line_length": 0 "wrap_line_length": 0
}, },
"js": { "js": {
"indent_size": 4, "indent_size": 4,
"indent_char": " ", "indent_level": 0,
"indent_with_tabs": true
"preserve_newlines": true, "preserve_newlines": true,
"wrap_line_length": 0, "wrap_line_length": 0,
"break_chained_methods": false, "break_chained_methods": false,
"indent_with_tabs": false,
"max_preserve_newlines": 2, "max_preserve_newlines": 2,
"jslint_happy": true, "jslint_happy": true,
"brace_style": "collapse-preserve-inline", "brace_style": "collapse-preserve-inline",
@ -34,14 +41,15 @@
}, },
"sql": { "sql": {
"indent_size": 4, "indent_size": 4,
"indent_char": " ",
"indent_level": 0, "indent_level": 0,
"indent_with_tabs": false "indent_with_tabs": true
}, },
"_default": { "_default": {
"indent_size": 4, "indent_size": 4,
"indent_char": " ", "indent_level": 0,
"indent_with_tabs": true
"preserve_newlines": true, "preserve_newlines": true,
"max_preserve_newlines": 2,
"wrap_line_length": 0 "wrap_line_length": 0
} }
} }

View file

@ -1,11 +1,11 @@
// Copyright 2016 Documize Inc. <legal@documize.com>. All rights reserved. // Copyright 2016 Documize Inc. <legal@documize.com>. All rights reserved.
// //
// This software (Documize Community Edition) is licensed under // This software (Documize Community Edition) is licensed under
// GNU AGPL v3 http://www.gnu.org/licenses/agpl-3.0.en.html // GNU AGPL v3 http://www.gnu.org/licenses/agpl-3.0.en.html
// //
// You can operate outside the AGPL restrictions by purchasing // You can operate outside the AGPL restrictions by purchasing
// Documize Enterprise Edition and obtaining a commercial license // Documize Enterprise Edition and obtaining a commercial license
// by contacting <sales@documize.com>. // by contacting <sales@documize.com>.
// //
// https://documize.com // https://documize.com
@ -129,4 +129,4 @@ export default Ember.Component.extend(TooltipMixin, {
this.attrs.onAction(page, meta); this.attrs.onAction(page, meta);
} }
} }
}); });

View file

@ -1,32 +1,32 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
{{content-for 'head'}} {{content-for 'head'}}
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Documize</title> <title>Documize</title>
<meta property="dbname" content="{{.DBname}}" /> <meta property="dbname" content="{{.DBname}}" />
<meta property="dbhash" content="{{.DBhash}}" /> <meta property="dbhash" content="{{.DBhash}}" />
<meta name="author" content="Documize" /> <meta name="author" content="Documize" />
<meta name="description" content="Documize"> <meta name="description" content="Documize">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<link rel="shortcut icon" href="/favicon.ico?v=1.1" /> <link rel="shortcut icon" href="/favicon.ico?v=1.1" />
<link rel="icon" type="image/png" href="/favicon-32x32.png?v=1.1" sizes="32x32" /> <link rel="icon" type="image/png" href="/favicon-32x32.png?v=1.1" sizes="32x32" />
<link rel="stylesheet" href="assets/vendor.css"> <link rel="stylesheet" href="assets/vendor.css">
<link rel="stylesheet" href="assets/documize.css"> {{content-for 'head-footer'}} <link rel="stylesheet" href="assets/documize.css"> {{content-for 'head-footer'}}
</head> </head>
<body> <body>
{{content-for 'body'}} {{content-for 'body'}}
<script src="assets/vendor.js"></script> <script src="assets/vendor.js"></script>
<script src="assets/documize.js"></script> <script src="assets/documize.js"></script>
<script src="codemirror/lib/codemirror.js"></script> <script src="codemirror/lib/codemirror.js"></script>
<script src="codemirror/mode/meta.js"></script> <script src="codemirror/mode/meta.js"></script>
<script src="codemirror/addon/mode/loadmode.js"></script> <script src="codemirror/addon/mode/loadmode.js"></script>
<script src="codemirror/addon/runmode/runmode.js"></script> <script src="codemirror/addon/runmode/runmode.js"></script>
<script src="codemirror/addon/runmode/colorize.js"></script> <script src="codemirror/addon/runmode/colorize.js"></script>
{{content-for 'body-footer'}} {{content-for 'body-footer'}}
</body> </body>
</html> </html>

View file

@ -30,7 +30,7 @@ const (
// AppVersion does what it says // AppVersion does what it says
// Versioning scheme major.minor where "minor" is optional // Versioning scheme major.minor where "minor" is optional
// e.g. 1, 2, 3, 4.1, 4.2, 5, 6, 7, 7.1, 8, 9, 10, ..... 127, 127.1, 128 // e.g. 1, 2, 3, 4.1, 4.2, 5, 6, 7, 7.1, 8, 9, 10, ..... 127, 127.1, 128
AppVersion = "12.9" AppVersion = "13.1"
) )
var port, certFile, keyFile, forcePort2SSL string var port, certFile, keyFile, forcePort2SSL string