v5.2.7
1
.gitignore
vendored
@ -18,3 +18,4 @@ DocService/npm-debug.log
|
||||
build
|
||||
node_modules
|
||||
SpellChecker/dictionaries
|
||||
/Gruntfile.js.out
|
||||
|
||||
@ -83,9 +83,9 @@ module.exports = function (grunt) {
|
||||
options: {
|
||||
position: 'top',
|
||||
banner: '/*\n' +
|
||||
' * (c) Copyright Ascensio System Limited 2010-<%= grunt.template.today("yyyy") %>. All rights reserved\n' +
|
||||
' * Copyright (C) ' + process.env['PUBLISHER_NAME'] + ' 2012-<%= grunt.template.today("yyyy") %>. All rights reserved\n' +
|
||||
' *\n' +
|
||||
' * <%= pkg.homepage %> \n' +
|
||||
' * ' + process.env['PUBLISHER_URL'] + ' \n' +
|
||||
' *\n' +
|
||||
' * Version: ' + process.env['PRODUCT_VERSION'] + ' (build:' + process.env['BUILD_NUMBER'] + ')\n' +
|
||||
' */\n',
|
||||
|
||||
18
Makefile
@ -9,6 +9,16 @@ GRUNT_FILES = Gruntfile.js.out
|
||||
PRODUCT_VERSION ?= 0.0.0
|
||||
BUILD_NUMBER ?= 0
|
||||
|
||||
PUBLISHER_NAME ?= Ascensio System SIA
|
||||
PUBLISHER_URL ?= https://www.onlyoffice.com/
|
||||
|
||||
GRUNT_ENV += PRODUCT_VERSION=$(PRODUCT_VERSION)
|
||||
GRUNT_ENV += BUILD_NUMBER=$(BUILD_NUMBER)
|
||||
GRUNT_ENV += PUBLISHER_NAME="$(PUBLISHER_NAME)"
|
||||
GRUNT_ENV += PUBLISHER_URL="$(PUBLISHER_URL)"
|
||||
|
||||
BRANDING_DIR ?= ./branding
|
||||
|
||||
DOCUMENT_ROOT ?= /var/www/onlyoffice/documentserver
|
||||
|
||||
ifeq ($(OS),Windows_NT)
|
||||
@ -73,7 +83,7 @@ HTML_FILE_INTERNAL_FILES += ../core/build/lib/$(TARGET)/HtmlFileInternal$(EXEC_E
|
||||
HTML_FILE_INTERNAL_FILES += ../core/Common/3dParty/cef/$(TARGET)/build/**
|
||||
|
||||
SPELLCHECKER_DICTIONARIES := $(OUTPUT)/SpellChecker/dictionaries
|
||||
SPELLCHECKER_DICTIONARY_FILES += ../dictionaries/**
|
||||
SPELLCHECKER_DICTIONARY_FILES += ../dictionaries/*_*
|
||||
|
||||
SCHEMA_DIR = schema
|
||||
SCHEMA_FILES = $(SCHEMA_DIR)/**
|
||||
@ -90,11 +100,11 @@ LICENSE_JS := $(OUTPUT)/Common/sources/license.js
|
||||
COMMON_DEFINES_JS := $(OUTPUT)/Common/sources/commondefines.js
|
||||
|
||||
WELCOME_DIR = welcome
|
||||
WELCOME_FILES = $(WELCOME_DIR)/**
|
||||
WELCOME_FILES = $(BRANDING_DIR)/$(WELCOME_DIR)/**
|
||||
WELCOME = $(OUTPUT)/$(WELCOME_DIR)/
|
||||
|
||||
INFO_DIR = info
|
||||
INFO_FILES = $(INFO_DIR)/**
|
||||
INFO_FILES = $(BRANDING_DIR)/$(INFO_DIR)/**
|
||||
INFO = $(OUTPUT)/$(INFO_DIR)/
|
||||
|
||||
CORE_FONTS_DIR = core-fonts
|
||||
@ -144,7 +154,7 @@ $(LICENSE):
|
||||
$(GRUNT_FILES):
|
||||
cd $(@D) && \
|
||||
npm install && \
|
||||
$(GRUNT) $(GRUNT_FLAGS)
|
||||
$(GRUNT_ENV) $(GRUNT) $(GRUNT_FLAGS)
|
||||
echo "Done" > $@
|
||||
|
||||
$(WELCOME):
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
"co": "^4.6.0",
|
||||
"config": "^2.0.1",
|
||||
"express": "^4.16.4",
|
||||
"nodehun": "git+https://git@github.com/ONLYOFFICE/nodehun.git#0fc08b1d65c88149d1282cd3911896247355d602",
|
||||
"nodehun": "git+https://git@github.com/ONLYOFFICE/nodehun.git#c9ba32e5ff117ecc51e8e119c0753a021e519113",
|
||||
"sockjs": "^0.3.19"
|
||||
}
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |