Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt this Makefile to FreeBSD #179

Open
wants to merge 37 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
2a3f301
Adapt this Makefile to FreeBSD
Teetoow Aug 25, 2020
1afab27
[spellchecker] Update (#235)
trofim24 Dec 21, 2020
4e323b8
Merge remote-tracking branch 'origin/hotfix/v6.1.1' into release/v6.2.0
trofim24 Jan 19, 2021
4c8b2e7
Merge branch release/v6.2.0 into master
papacarlo Mar 1, 2021
7d17965
Merge remote-tracking branch 'origin/master' into release/v6.3.0
trofim24 Mar 4, 2021
aef6f35
[bug] Fix bug with anonymous; for 74b77d1e9c87b31ffc1afdf27d3ee13c94d…
konovalovsergey Mar 11, 2021
12e4056
[bug] Fix changedocinfo command in mode without token. (#244)
konovalovsergey Mar 15, 2021
06134b3
[bug] Fix bug 49147 (#245)
konovalovsergey Mar 18, 2021
c7e7818
[feature] Add m_sTitle param to converter
konovalovsergey Apr 2, 2021
9e12841
[bug] Fix vulnerability by adding isbuilder parameter to downloadAs r…
konovalovsergey Mar 30, 2021
85d1473
[bug] Fix vulnerability with 'insert image from url' and 'compare doc…
konovalovsergey Apr 2, 2021
6776d6f
[bug] Fix unwanted changes in 253679565cce6a8327f88915bcddbf5fe6f86fdc
konovalovsergey Apr 3, 2021
caebdd6
[bug] For bug 49002
konovalovsergey Apr 2, 2021
9b06651
[bug] Fix bug 49516 with redirect
konovalovsergey Apr 7, 2021
9cb1188
Add docbuilderCoreFontsPath parameter definition to production (#250)
romandemidov Apr 7, 2021
cd93ba1
[config] For bug 49634
konovalovsergey Apr 14, 2021
1d08bca
Merge branch hotfix/v6.2.2 into master
papacarlo Apr 19, 2021
98ae4f7
[bug] For bug 49716
konovalovsergey Apr 27, 2021
ed42574
[bug] Fix bug 49946
konovalovsergey Apr 30, 2021
e1a309a
[bug] Fix bug 49714
konovalovsergey May 4, 2021
6c78acf
[bug] For 57657dcaad6b0b60ffb051fe9e047e3adea670c0 (concat null in po…
konovalovsergey May 4, 2021
6b83207
Merge remote-tracking branch 'remotes/origin/hotfix/v6.2.2' into rele…
konovalovsergey May 11, 2021
b3a1dc7
[bug] Move from cron to setTimeout to avoid "uncaughtException: Somet…
konovalovsergey May 12, 2021
45f8d69
Merge branch release/v6.3.0 into master
papacarlo May 20, 2021
27e3f5e
[bug] Fix bug 50466
konovalovsergey May 18, 2021
c9f0817
[bug] Fix bug 50481
konovalovsergey May 19, 2021
4bf6fc8
[bug] For bug 50481
konovalovsergey May 19, 2021
36b1588
[feature] Add 'license' command to CommandService.ashx
konovalovsergey May 7, 2021
ae9c548
[feature] Rework 'license' command params of CommandSevice
konovalovsergey May 12, 2021
864752b
[bug] Move convertToFileParams, convertToServerParams from replaceabl…
konovalovsergey May 13, 2021
1772605
[feature] Rework 'license.quota' command params of CommandSevice
konovalovsergey May 16, 2021
279f651
[bug] Fix bug 49716
konovalovsergey May 24, 2021
f0df6e6
[run] Fix (#266)
trofim24 May 26, 2021
ae1c10f
[run] Port (#267)
trofim24 May 31, 2021
ce86c02
[bug] Fix bug 50708
konovalovsergey Jun 3, 2021
2b151e6
Merge branch hotfix/v6.3.1 into master
papacarlo Jun 8, 2021
dc2940b
Update repository to the latest version
Teetoow Jul 19, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Common/config/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,10 @@
"useforrequest": false,
"errorcode": 403
},
"request-filtering-agent" : {
"allowPrivateIPAddress": true,
"allowMetaIPAddress": true
},
"secret": {
"browser": {"string": "secret", "file": "", "tenants": {}},
"inbox": {"string": "secret", "file": "", "tenants": {}},
Expand Down Expand Up @@ -254,6 +258,7 @@
"x2tPath": "null",
"docbuilderPath": "null",
"docbuilderAllFontsPath": "null",
"docbuilderCoreFontsPath": "",
"args": "",
"spawnOptions": {},
"errorfiles": "",
Expand Down
33 changes: 19 additions & 14 deletions Common/config/development-linux.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
{
"log": {
"filePath": "../../Common/config/log4js/development.json"
"filePath": "../Common/config/log4js/development.json"
},
"storage": {
"fs": {
"folderPath": "../../App_Data"
"folderPath": "../App_Data"
}
},
"services": {
"CoAuthoring": {
"server": {
"port": 8001,
"port": 8000,
"static_content": {
"/fonts": {
"path": "../../../fonts"
"path": "../../fonts"
},
"/sdkjs": {
"path": "../../../sdkjs"
"path": "../../sdkjs"
},
"/web-apps": {
"path": "../../../web-apps"
"path": "../../web-apps"
},
"/sdkjs-plugins": {
"path": "../../../sdkjs-plugins"
"path": "../../sdkjs-plugins"
},
"/dictionaries": {
"path": "../../../dictionaries"
"path": "../../dictionaries"
},
"/info": {
"path": "../branding/info"
Expand All @@ -35,28 +35,33 @@
"utils": {
"utils_common_fontdir": "/usr/share/fonts"
},
"request-filtering-agent" : {
"allowPrivateIPAddress": true,
"allowMetaIPAddress": true
},
"sockjs": {
"sockjs_url": "/web-apps/vendor/sockjs/sockjs.min.js"
}
}
},
"license": {
"license_file": "./../../license.lic",
"license_file": "./../license.lic",
"warning_limit_percents": 70,
"packageType": 0
},
"FileConverter": {
"converter": {
"fontDir": "/usr/share/fonts",
"presentationThemesDir": "../../../sdkjs/slide/themes",
"x2tPath": "../../FileConverter/bin/x2t",
"docbuilderPath": "../../FileConverter/bin/docbuilder",
"docbuilderAllFontsPath": "../../App_Data/docbuilder/AllFonts.js"
"presentationThemesDir": "../../sdkjs/slide/themes",
"x2tPath": "../FileConverter/bin/x2t",
"docbuilderPath": "../FileConverter/bin/docbuilder",
"docbuilderAllFontsPath": "../App_Data/docbuilder/AllFonts.js",
"docbuilderCoreFontsPath": "../../core-fonts"
}
},
"SpellChecker": {
"server": {
"dictDir": "../../../dictionaries"
"dictDir": "../../dictionaries"
}
}
}
37 changes: 21 additions & 16 deletions Common/config/development-mac.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
{
"log": {
"filePath": "../../Common/config/log4js/development.json"
"filePath": "../Common/config/log4js/development.json"
},
"storage": {
"fs": {
"folderPath": "../../App_Data"
"folderPath": "../App_Data"
}
},
"services": {
"CoAuthoring": {
"server": {
"port": 8001,
"port": 8000,
"static_content": {
"/fonts": {
"path": "../../../fonts"
"path": "../../fonts"
},
"/sdkjs": {
"path": "../../../sdkjs"
"path": "../../sdkjs"
},
"/web-apps": {
"path": "../../../web-apps"
"path": "../../web-apps"
},
"/sdkjs-plugins": {
"path": "../../../sdkjs-plugins"
"path": "../../sdkjs-plugins"
},
"/dictionaries": {
"path": "../../../dictionaries"
"path": "../../dictionaries"
},
"/info": {
"path": "../../branding/info"
"path": "../branding/info"
}
}
},
Expand All @@ -41,29 +41,34 @@
"dbUser": "root",
"dbPass": "onlyoffice"
},
"request-filtering-agent" : {
"allowPrivateIPAddress": true,
"allowMetaIPAddress": true
},
"sockjs": {
"sockjs_url": "/office/vendor/sockjs/sockjs.min.js"
"sockjs_url": "/web-apps/vendor/sockjs/sockjs.min.js"
}
}
},
"license": {
"license_file": "./../../license.lic",
"license_file": "./../license.lic",
"warning_limit_percents": 70,
"packageType": 0
},
"FileConverter": {
"converter": {
"fontDir": "",
"presentationThemesDir": "../../../OfficeWeb/PowerPoint/themes",
"x2tPath": "../../FileConverter/bin/x2t",
"docbuilderPath": "../../FileConverter/Bin/docbuilder",
"docbuilderAllFontsPath": "../../App_Data/docbuilder/AllFonts.js",
"presentationThemesDir": "../../sdkjs/slide/themes",
"x2tPath": "../FileConverter/bin/x2t",
"docbuilderPath": "../FileConverter/Bin/docbuilder",
"docbuilderAllFontsPath": "../App_Data/docbuilder/AllFonts.js",
"docbuilderCoreFontsPath": "../../core-fonts",
"errorfiles": "error"
}
},
"SpellChecker": {
"server": {
"dictDir": "../../../dictionaries"
"dictDir": "../../dictionaries"
}
}
}
35 changes: 20 additions & 15 deletions Common/config/development-windows.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
{
"log": {
"filePath": "../../Common/config/log4js/development.json"
"filePath": "../Common/config/log4js/development.json"
},
"storage": {
"fs": {
"folderPath": "../../App_Data"
"folderPath": "../App_Data"
}
},
"services": {
"CoAuthoring": {
"server": {
"port": 8001,
"port": 8000,
"static_content": {
"/fonts": {
"path": "../../../fonts"
"path": "../../fonts"
},
"/sdkjs": {
"path": "../../../sdkjs"
"path": "../../sdkjs"
},
"/web-apps": {
"path": "../../../web-apps"
"path": "../../web-apps"
},
"/sdkjs-plugins": {
"path": "../../../sdkjs-plugins"
"path": "../../sdkjs-plugins"
},
"/dictionaries": {
"path": "../../../dictionaries"
"path": "../../dictionaries"
},
"/info": {
"path": "../../branding/info"
"path": "../branding/info"
}
}
},
Expand All @@ -41,29 +41,34 @@
"dbUser": "root",
"dbPass": "onlyoffice"
},
"request-filtering-agent" : {
"allowPrivateIPAddress": true,
"allowMetaIPAddress": true
},
"sockjs": {
"sockjs_url": "/web-apps/vendor/sockjs/sockjs.min.js"
}
}
},
"license": {
"license_file": "./../../license.lic",
"license_file": "./../license.lic",
"warning_limit_percents": 70,
"packageType": 0
},
"FileConverter": {
"converter": {
"fontDir": "",
"presentationThemesDir": "../../../sdkjs/slide/themes",
"x2tPath": "../../FileConverter/Bin/x2t.exe",
"docbuilderPath": "../../FileConverter/Bin/docbuilder.exe",
"docbuilderAllFontsPath": "../../App_Data/docbuilder/AllFonts.js",
"presentationThemesDir": "../../sdkjs/slide/themes",
"x2tPath": "../FileConverter/Bin/x2t.exe",
"docbuilderPath": "../FileConverter/Bin/docbuilder.exe",
"docbuilderAllFontsPath": "../App_Data/docbuilder/AllFonts.js",
"docbuilderCoreFontsPath": "../../core-fonts",
"errorfiles": "error"
}
},
"SpellChecker": {
"server": {
"dictDir": "../../../dictionaries"
"dictDir": "../../dictionaries"
}
}
}
3 changes: 2 additions & 1 deletion Common/config/production-linux.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@
"presentationThemesDir": "/var/www/onlyoffice/documentserver/sdkjs/slide/themes",
"x2tPath": "/var/www/onlyoffice/documentserver/server/FileConverter/bin/x2t",
"docbuilderPath": "/var/www/onlyoffice/documentserver/server/FileConverter/bin/docbuilder",
"docbuilderAllFontsPath": "/var/lib/onlyoffice/documentserver/App_Data/docbuilder/AllFonts.js"
"docbuilderAllFontsPath": "/var/lib/onlyoffice/documentserver/App_Data/docbuilder/AllFonts.js",
"docbuilderCoreFontsPath": "/var/www/onlyoffice/documentserver/core-fonts"
}
},
"FileStorage": {
Expand Down
3 changes: 2 additions & 1 deletion Common/config/production-windows.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@
"presentationThemesDir": "../../sdkjs/slide/themes",
"x2tPath": "../FileConverter/bin/x2t.exe",
"docbuilderPath": "../FileConverter/bin/docbuilder.exe",
"docbuilderAllFontsPath": "../App_Data/docbuilder/AllFonts.js"
"docbuilderAllFontsPath": "../App_Data/docbuilder/AllFonts.js",
"docbuilderCoreFontsPath": "../../core-fonts"
}
},
"SpellChecker": {
Expand Down
15 changes: 15 additions & 0 deletions Common/npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"node-statsd": "^0.1.1",
"openpgp": "^4.10.8",
"request": "^2.88.0",
"request-filtering-agent": "^1.0.5",
"rhea": "^0.3.9",
"uri-js": "^4.2.2"
}
Expand Down
20 changes: 18 additions & 2 deletions Common/sources/commondefines.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ const constants = require('./constants');
function InputCommand(data, copyExplicit) {
//must be set explicitly to prevent vulnerability(downloadAs(with url) creates request to integrator with authorization)
this['withAuthorization'] = undefined;//bool
this['isbuilder'] = undefined;//bool
this['externalChangeInfo'] = undefined;//zero DB changes case: set password, undo all changes
if (data) {
this['c'] = data['c'];
this['id'] = data['id'];
Expand Down Expand Up @@ -88,17 +90,19 @@ function InputCommand(data, copyExplicit) {
this['inline'] = data['inline'];
this['password'] = data['password'];
this['savepassword'] = data['savepassword'];
this['withoutPassword'] = data['withoutPassword'];
this['outputurls'] = data['outputurls'];
this['closeonerror'] = data['closeonerror'];
this['serverVersion'] = data['serverVersion'];
this['rediskey'] = data['rediskey'];
this['nobase64'] = data['nobase64'];
this['forgotten'] = data['forgotten'];
this['isbuilder'] = data['isbuilder'];
this['status_info_in'] = data['status_info_in'];
this['attempt'] = data['attempt'];
if (copyExplicit) {
this['withAuthorization'] = data['withAuthorization'];
this['isbuilder'] = data['isbuilder'];
this['externalChangeInfo'] = data['externalChangeInfo'];
}
} else {
this['c'] = undefined;//string command
Expand Down Expand Up @@ -143,13 +147,13 @@ function InputCommand(data, copyExplicit) {
this['inline'] = undefined;//content disposition
this['password'] = undefined;
this['savepassword'] = undefined;
this['withoutPassword'] = undefined;
this['outputurls'] = undefined;
this['closeonerror'] = undefined;
this['serverVersion'] = undefined;
this['rediskey'] = undefined;
this['nobase64'] = true;
this['forgotten'] = undefined;
this['isbuilder'] = undefined;
this['status_info_in'] = undefined;
this['attempt'] = undefined;
}
Expand Down Expand Up @@ -377,6 +381,12 @@ InputCommand.prototype = {
setSavePassword: function(data) {
this['savepassword'] = data;
},
getWithoutPassword: function() {
return this['withoutPassword'];
},
setWithoutPassword: function(data) {
this['withoutPassword'] = data;
},
setOutputUrls: function(data) {
this['outputurls'] = data;
},
Expand Down Expand Up @@ -430,6 +440,12 @@ InputCommand.prototype = {
},
setWithAuthorization: function(data) {
this['withAuthorization'] = data;
},
getExternalChangeInfo: function() {
return this['externalChangeInfo'];
},
setExternalChangeInfo: function(data) {
this['externalChangeInfo'] = data;
}
};

Expand Down
1 change: 1 addition & 0 deletions Common/sources/license.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,5 @@ exports.readLicense = function*() {
endDate: null
};
};

exports.packageType = constants.PACKAGE_TYPE_OS;
Loading