1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-19 13:19:43 +02:00

v1.46.0 build assets

This commit is contained in:
Harvey Kandola 2017-04-27 12:49:32 +01:00
parent 831dfce3cb
commit 740c2ca189
5 changed files with 652 additions and 628 deletions

View file

@ -8,7 +8,7 @@ The mission is to bring software dev inspired features (refactoring, testing, li
## Latest version
v1.45.3
v1.46.0
## OS Support

View file

@ -1,6 +1,6 @@
{
"name": "documize",
"version": "1.45.3",
"version": "1.46.0",
"description": "The Document IDE",
"private": true,
"repository": "",

View file

@ -34,8 +34,8 @@ var Product core.ProdInfo
func init() {
Product.Major = "1"
Product.Minor = "45"
Product.Patch = "3"
Product.Minor = "46"
Product.Patch = "0"
Product.Version = fmt.Sprintf("%s.%s.%s", Product.Major, Product.Minor, Product.Patch)
Product.Edition = "Community"
Product.Title = fmt.Sprintf("%s Edition", Product.Edition)
@ -146,7 +146,7 @@ func cors(w http.ResponseWriter, r *http.Request, next http.HandlerFunc) {
w.Header().Set("Access-Control-Allow-Origin", "*")
w.Header().Set("Access-Control-Allow-Methods", "PUT, GET, POST, DELETE, OPTIONS, PATCH")
w.Header().Set("Access-Control-Allow-Headers", "host, content-type, accept, authorization, origin, referer, user-agent, cache-control, x-requested-with")
w.Header().Set("Access-Control-Expose-Headers", "x-documize-version")
w.Header().Set("Access-Control-Expose-Headers", "x-documize-version, x-documize-status")
if r.Method == "OPTIONS" {
w.Header().Add("X-Documize-Version", Product.Version)

View file

@ -88,8 +88,9 @@ func init() {
}
var stdParams = map[string]string{
"charset": "utf8",
"parseTime": "True",
"charset": "utf8",
"parseTime": "True",
"maxAllowedPacket": "4194304", // 4194304 // 16777216 = 16MB
}
func stdConn(cs string) string {

File diff suppressed because one or more lines are too long