1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-04 21:15:24 +02:00

Enable in-app backup/restore for global/tenants

Re-mapping of ORG and USER ID values ensures conflict-free merging.

Version numbers bumped.

Co-Authored-By: Harvey Kandola <harvey@documize.com>
This commit is contained in:
sauls8t 2018-10-19 12:40:45 +01:00
parent ec1939c01d
commit db04057d9e
10 changed files with 913 additions and 788 deletions

View file

@ -38,7 +38,7 @@ func main() {
// product details
rt.Product = env.ProdInfo{}
rt.Product.Major = "1"
rt.Product.Minor = "71"
rt.Product.Minor = "72"
rt.Product.Patch = "0"
rt.Product.Revision = 181007125514
rt.Product.Version = fmt.Sprintf("%s.%s.%s", rt.Product.Major, rt.Product.Minor, rt.Product.Patch)

View file

@ -35,6 +35,11 @@ func (l Logger) Info(message string) {
l.log.Println(message)
}
// Infof logs message via Sprintf.
func (l Logger) Infof(message string, a ...interface{}) {
l.log.Println(fmt.Sprintf(message, a))
}
// Trace logs message if tracing enabled.
func (l Logger) Trace(message string) {
if l.trace {