mirror of
https://github.com/documize/community.git
synced 2025-07-19 13:19:43 +02:00
3.4.0 build prep
This commit is contained in:
parent
39f457e90e
commit
017b19141c
5 changed files with 1135 additions and 1110 deletions
|
@ -13,9 +13,9 @@ All you need to provide is PostgreSQL, Microsoft SQL Server or any MySQL variant
|
|||
|
||||
## Latest Release
|
||||
|
||||
[Community Edition: v3.3.2](https://github.com/documize/community/releases)
|
||||
[Community Edition: v3.4.0](https://github.com/documize/community/releases)
|
||||
|
||||
[Enterprise Edition: v3.3.2](https://www.documize.com/downloads)
|
||||
[Enterprise Edition: v3.4.0](https://www.documize.com/downloads)
|
||||
|
||||
> *We provide frequent product updates for both cloud and self-hosted customers.*
|
||||
>
|
||||
|
@ -50,7 +50,7 @@ For all database types, Full-Text Search support (FTS) is mandatory.
|
|||
|
||||
## Technology Stack
|
||||
|
||||
- Go (v1.13.1)
|
||||
- Go (v1.13.3)
|
||||
- Ember JS (v3.12.0)
|
||||
|
||||
## Authentication Options
|
||||
|
|
|
@ -29,7 +29,7 @@ func InitRuntime(r *env.Runtime, s *store.Store) bool {
|
|||
// TODO: remove this line when Go1.13 is released.
|
||||
os.Setenv("GODEBUG", os.Getenv("GODEBUG")+",tls13=1")
|
||||
|
||||
// We need SALT to hash auth JWT tokens
|
||||
// We need SALT to hash auth JWT tokens.
|
||||
if r.Flags.Salt == "" {
|
||||
r.Flags.Salt = secrets.RandSalt()
|
||||
|
||||
|
@ -37,10 +37,10 @@ func InitRuntime(r *env.Runtime, s *store.Store) bool {
|
|||
return false
|
||||
}
|
||||
|
||||
r.Log.Info("please set DOCUMIZESALT or use -salt with this value: " + r.Flags.Salt)
|
||||
r.Log.Info("please set DOCUMIZESALT environment variable or use -salt switch with this value: " + r.Flags.Salt)
|
||||
}
|
||||
|
||||
// We can use either or both HTTP and HTTPS ports
|
||||
// We can use either or both HTTP and HTTPS ports.
|
||||
if r.Flags.SSLCertFile == "" && r.Flags.SSLKeyFile == "" {
|
||||
if r.Flags.HTTPPort == "" {
|
||||
r.Flags.HTTPPort = "80"
|
||||
|
@ -65,12 +65,12 @@ func InitRuntime(r *env.Runtime, s *store.Store) bool {
|
|||
storage.SetSQLServerProvider(r, s)
|
||||
default:
|
||||
r.Log.Infof("Unsupported database type: %s", r.Flags.DBType)
|
||||
r.Log.Info("Documize supports the following database types: mysql | mariadb | percona | postgresql")
|
||||
r.Log.Info("Documize supports the following database types: mysql mariadb percona postgresql sqlserver")
|
||||
os.Exit(1)
|
||||
return false
|
||||
}
|
||||
|
||||
// Open connection to database
|
||||
// Open connection to database.
|
||||
db, err := sqlx.Open(r.StoreProvider.DriverName(), r.StoreProvider.MakeConnectionString())
|
||||
if err != nil {
|
||||
r.Log.Error("Unable to open database", err)
|
||||
|
@ -78,10 +78,10 @@ func InitRuntime(r *env.Runtime, s *store.Store) bool {
|
|||
return false
|
||||
}
|
||||
|
||||
// Set the database handle
|
||||
// Set the database handle.
|
||||
r.Db = db
|
||||
|
||||
// Set connection defaults
|
||||
// Set connection defaults.
|
||||
r.Db.SetMaxIdleConns(30)
|
||||
r.Db.SetMaxOpenConns(100)
|
||||
r.Db.SetConnMaxLifetime(time.Second * 14400)
|
||||
|
|
|
@ -40,9 +40,9 @@ func main() {
|
|||
// Specify the product edition.
|
||||
rt.Product = domain.Product{}
|
||||
rt.Product.Major = "3"
|
||||
rt.Product.Minor = "3"
|
||||
rt.Product.Patch = "2"
|
||||
rt.Product.Revision = "191017131056"
|
||||
rt.Product.Minor = "4"
|
||||
rt.Product.Patch = "0"
|
||||
rt.Product.Revision = "191021105505"
|
||||
rt.Product.Version = fmt.Sprintf("%s.%s.%s", rt.Product.Major, rt.Product.Minor, rt.Product.Patch)
|
||||
rt.Product.Edition = domain.CommunityEdition
|
||||
rt.Product.Title = fmt.Sprintf("%s Edition", rt.Product.Edition)
|
||||
|
|
2217
embed/bindata.go
2217
embed/bindata.go
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "documize",
|
||||
"version": "3.3.2",
|
||||
"version": "3.4.0",
|
||||
"description": "Documize is the Integrated Document Environment (IDE)",
|
||||
"repository": "",
|
||||
"license": "AGPL",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue