diff --git a/config/appsettings.json b/config/appsettings.json index aca23564ab..0e4ae5e01b 100644 --- a/config/appsettings.json +++ b/config/appsettings.json @@ -1,323 +1,165 @@ { - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft": "Warning", - "Microsoft.Hosting.Lifetime": "Information" + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft": "Warning", + "Microsoft.Hosting.Lifetime": "Information" + }, + "EventLog": { + "LogLevel": { + "Default": "Information", + "Microsoft.Hosting.Lifetime": "Information" + } + } }, - "EventLog": { - "LogLevel": { - "Default": "Information", - "Microsoft.Hosting.Lifetime": "Information" - } + "AllowedHosts": "*", + "core": { + "base-domain": "", + "machinekey": "1123askdasjklasbnd", + "notify": { + "postman": "log" + }, + "payment": { + "delay": "10", + "partners": "https://partners.teamlab.info/api", + "region": "test", + "test": true + }, + "personal": false, + "products": { + "folder": "../../products", + "subfolder": "Server" + } + }, + "license": { + "file": { + "path": "" + } + }, + "mail": { + "certificate-permit": false, + "daemon-email": "mail-daemon@onlyoffice.com", + "server-mailbox-limit-per-user": 2 + }, + "messaging": { + "enabled": "enabled" + }, + "version": { + "number": "11.5.0", + "release": { + "date": "", + "sign": "" + } + }, + "files": { + "thirdparty": { + "enable": [ "box", "dropboxv2", "docusign", "google", "onedrive", "sharepoint", "nextcloud", "owncloud", "webdav", "kdrive", "yandex" ] + }, + "docservice": { + "coauthor-docs": [ ".pptx", ".ppsx", ".xlsx", ".csv", ".docx", ".docxf", ".oform", ".txt" ], + "commented-docs": [ ".docx", ".docxf", ".xlsx", ".pptx" ], + "convert-docs": [ ".pptm", ".ppt", ".ppsm", ".pps", ".potx", ".potm", ".pot", ".odp", ".fodp", ".otp", ".xlsm", ".xls", ".xltx", ".xltm", ".xlt", ".ods", ".fods", ".ots", ".docm", ".doc", ".dotx", ".dotm", ".dot", ".odt", ".fodt", ".ott", ".rtf" ], + "edited-docs": [ ".pptx", ".pptm", ".ppt", ".ppsx", ".ppsm", ".pps", ".potx", ".potm", ".pot", ".odp", ".fodp", ".otp", ".xlsx", ".xlsm", ".xls", ".xltx", ".xltm", ".xlt", ".ods", ".fods", ".ots", ".csv", ".docx", ".docxf", ".oform", ".docm", ".doc", ".dotx", ".dotm", ".dot", ".odt", ".fodt", ".ott", ".txt", ".rtf", ".mht", ".html", ".htm" ], + "encrypted-docs": [ ".docx", ".docxf", ".xlsx", ".pptx", ".oform" ], + "formfilling-docs": [ ".oform" ], + "customfilter-docs": [ ".xlsx" ], + "reviewed-docs": [ ".docx", ".docxf" ], + "viewed-docs": [ ".pptx", ".pptm", ".ppt", ".ppsx", ".ppsm", ".pps", ".potx", ".potm", ".pot", ".odp", ".fodp", ".otp", ".gslides", ".xlsx", ".xlsm", ".xls", ".xltx", ".xltm", ".xlt", ".ods", ".fods", ".ots", ".gsheet", ".csv", ".docx", ".docxf", ".oform", ".docm", ".doc", ".dotx", ".dotm", ".dot", ".odt", ".fodt", ".ott", ".gdoc", ".txt", ".rtf", ".mht", ".html", ".htm", ".epub", ".pdf", ".djvu", ".xps" ], + "secret": { + "value": "", + "header": "" + }, + "url": { + "public": "http://localhost:8085/", + "internal": "", + "portal": "" + } + }, + "ffmpeg": { + "value": "", + "exts": [ "avi", "mpeg", "mpg", "wmv" ] + }, + "uploader": { + "chunk-size": 10485760, + "url": "products/files/" + }, + "viewed-images": [ ".bmp", ".gif", ".jpeg", ".jpg", ".png", ".ico", ".tif", ".tiff", ".webp" ], + "viewed-media": [ ".aac", ".flac", ".m4a", ".mp3", ".oga", ".ogg", ".wav", ".f4v", ".m4v", ".mov", ".mp4", ".ogv", ".webm" ], + "index": [ ".pptx", ".xlsx", ".docx" ] + }, + "web": { + "api": "api/2.0", + "alias": { + "min": "" + }, + "images": "images", + "hide-settings": "Monitoring,LdapSettings,DocService,MailService,PublicPortal,ProxyHttpContent,SpamSubscription,FullTextSearch", + "hub": { + "url": "/socket.io", + "internal": "http://localhost:9899/" + }, + "cultures": "de,en,fr,it,pt-BR,ru", + "url-shortener": { + "value": "/sh/", + "internal": "http://localhost:9999/" + }, + "controlpanel": { + "url": "" + }, + "support-feedback": "https://helpdesk.onlyoffice.com", + "teamlab-site": "http://www.onlyoffice.com" + }, + "ConnectionStrings": { + "default": { + "name": "default", + "connectionString": "Server=localhost;Database=onlyoffice;User ID=dev;Password=dev;Pooling=true;Character Set=utf8;AutoEnlist=false;SSL Mode=none;AllowPublicKeyRetrieval=True;ConnectionReset=false", + "providerName": "MySql.Data.MySqlClient" + }, + "postgre": { + "name": "postgre", + "connectionString": "Host=localhost;Port=5432;Database=onlyoffice;Username=postgres;Password=dev;", + "providerName": "Npgsql" + }, + "mysql": { + "name": "mysql", + "connectionString": "Server=localhost;Database=onlyoffice;User ID=dev;Password=dev;Pooling=true;Character Set=utf8;AutoEnlist=false;SSL Mode=none;AllowPublicKeyRetrieval=True;ConnectionReset=false", + "providerName": "MySql.Data.MySqlClient" + } + }, + "migration": { + "enabled": "false" + }, + "DbProviderFactories": { + "mysql": { + "name": "MySQL Data Provider", + "invariant": "MySql.Data.MySqlClient", + "description": ".Net Framework Data Provider for MySQL", + "type": "MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data" + } + }, + "bookmarking": { + "thumbnail-url": "http://localhost:9800/?url={0}" + }, + "storage": { + "encryption": { + "progressfile": "false", + "tempdir": "" + } + }, + "firebase": { + "apiKey": "", + "authDomain": "", + "projectId": "", + "storageBucket": "", + "messagingSenderId": "", + "appId": "", + "measurementId": "" + }, + "debug-info": { + "enabled": "true" + }, + "thumbnail": { + "thumbnaillHeight": 260, + "thumbnaillWidth": 360 } - }, - "AllowedHosts": "*", - "core": { - "base-domain": "", - "machinekey": "1123askdasjklasbnd", - "notify": { - "postman": "log" - }, - "payment": { - "delay": "10", - "partners": "https://partners.teamlab.info/api", - "region": "test", - "test": true - }, - "personal": false, - "products": { - "folder": "../../products", - "subfolder": "Server" - } - }, - "license": { - "file": { - "path": "" - } - }, - "mail": { - "certificate-permit": false, - "daemon-email": "mail-daemon@onlyoffice.com", - "server-mailbox-limit-per-user": 2 - }, - "messaging": { - "enabled": "enabled" - }, - "version": { - "number": "11.5.0", - "release": { - "date": "", - "sign": "" - } - }, - "files": { - "thirdparty": { - "enable": [ - "box", - "dropboxv2", - "docusign", - "google", - "onedrive", - "sharepoint", - "nextcloud", - "owncloud", - "webdav", - "kdrive", - "yandex" - ] - }, - "docservice": { - "coauthor-docs": [ - ".pptx", - ".ppsx", - ".xlsx", - ".csv", - ".docx", - ".docxf", - ".oform", - ".txt" - ], - "commented-docs": [".docx", ".docxf", ".xlsx", ".pptx"], - "convert-docs": [ - ".pptm", - ".ppt", - ".ppsm", - ".pps", - ".potx", - ".potm", - ".pot", - ".odp", - ".fodp", - ".otp", - ".xlsm", - ".xls", - ".xltx", - ".xltm", - ".xlt", - ".ods", - ".fods", - ".ots", - ".docm", - ".doc", - ".dotx", - ".dotm", - ".dot", - ".odt", - ".fodt", - ".ott", - ".rtf" - ], - "edited-docs": [ - ".pptx", - ".pptm", - ".ppt", - ".ppsx", - ".ppsm", - ".pps", - ".potx", - ".potm", - ".pot", - ".odp", - ".fodp", - ".otp", - ".xlsx", - ".xlsm", - ".xls", - ".xltx", - ".xltm", - ".xlt", - ".ods", - ".fods", - ".ots", - ".csv", - ".docx", - ".docxf", - ".oform", - ".docm", - ".doc", - ".dotx", - ".dotm", - ".dot", - ".odt", - ".fodt", - ".ott", - ".txt", - ".rtf", - ".mht", - ".html", - ".htm" - ], - "encrypted-docs": [".docx", ".docxf", ".xlsx", ".pptx", ".oform"], - "formfilling-docs": [".oform"], - "customfilter-docs": [".xlsx"], - "reviewed-docs": [".docx", ".docxf"], - "viewed-docs": [ - ".pptx", - ".pptm", - ".ppt", - ".ppsx", - ".ppsm", - ".pps", - ".potx", - ".potm", - ".pot", - ".odp", - ".fodp", - ".otp", - ".gslides", - ".xlsx", - ".xlsm", - ".xls", - ".xltx", - ".xltm", - ".xlt", - ".ods", - ".fods", - ".ots", - ".gsheet", - ".csv", - ".docx", - ".docxf", - ".oform", - ".docm", - ".doc", - ".dotx", - ".dotm", - ".dot", - ".odt", - ".fodt", - ".ott", - ".gdoc", - ".txt", - ".rtf", - ".mht", - ".html", - ".htm", - ".epub", - ".pdf", - ".djvu", - ".xps" - ], - "secret": { - "value": "", - "header": "" - }, - "url": { - "public": "http://localhost:8085/", - "internal": "", - "portal": "" - } - }, - "ffmpeg": { - "value": "", - "exts": ["avi", "mpeg", "mpg", "wmv"] - }, - "uploader": { - "chunk-size": 10485760, - "url": "products/files/" - }, - "viewed-images": [ - ".bmp", - ".gif", - ".jpeg", - ".jpg", - ".png", - ".ico", - ".tif", - ".tiff", - ".webp" - ], - "viewed-media": [ - ".aac", - ".flac", - ".m4a", - ".mp3", - ".oga", - ".ogg", - ".wav", - ".f4v", - ".m4v", - ".mov", - ".mp4", - ".ogv", - ".webm" - ], - "index": [".pptx", ".xlsx", ".docx"] - }, - "web": { - "api": "api/2.0", - "alias": { - "min": "" - }, - "images": "images", - "hide-settings": "Monitoring,LdapSettings,DocService,MailService,PublicPortal,ProxyHttpContent,SpamSubscription,FullTextSearch", - "hub": { - "url": "/socket.io", - "internal": "http://localhost:9899/" - }, - "cultures": "de,en,fr,it,pt-BR,ru", - "url-shortener": { - "value": "/sh/", - "internal": "http://localhost:9999/" - }, - "controlpanel": { - "url": "" - }, - "support-feedback": "https://helpdesk.onlyoffice.com", - "teamlab-site": "http://www.onlyoffice.com" - }, - "ConnectionStrings": { - "default": { - "name": "default", - "connectionString": "Server=localhost;Database=onlyoffice;User ID=dev;Password=dev;Pooling=true;Character Set=utf8;AutoEnlist=false;SSL Mode=none;AllowPublicKeyRetrieval=True;ConnectionReset=false", - "providerName": "MySql.Data.MySqlClient" - }, - "postgre": { - "name": "postgre", - "connectionString": "Host=localhost;Port=5432;Database=onlyoffice;Username=postgres;Password=dev;", - "providerName": "Npgsql" - }, - "mysql": { - "name": "mysql", - "connectionString": "Server=localhost;Database=onlyoffice;User ID=dev;Password=dev;Pooling=true;Character Set=utf8;AutoEnlist=false;SSL Mode=none;AllowPublicKeyRetrieval=True;ConnectionReset=false", - "providerName": "MySql.Data.MySqlClient" - } - }, - "migration": { - "enabled": "false" - }, - "DbProviderFactories": { - "mysql": { - "name": "MySQL Data Provider", - "invariant": "MySql.Data.MySqlClient", - "description": ".Net Framework Data Provider for MySQL", - "type": "MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data" - } - }, - "bookmarking": { - "thumbnail-url": "http://localhost:9800/?url={0}" - }, - "storage": { - "encryption": { - "progressfile": "false", - "tempdir": "" - } - }, - "firebase": { - "apiKey": "AIzaSyBpwXzH4toHP5Dr38DmwjsY9VqS4fTk4FM", - "authDomain": "appserver-c011a.firebaseapp.com", - "projectId": "appserver-c011a", - "storageBucket": "appserver-c011a.appspot.com", - "messagingSenderId": "92050394157", - "appId": "1:92050394157:web:da52e02c3eef65e5ca7ca4", - "measurementId": "G-7MEFVW27MJ" - }, - "debug-info": { - "enabled": "true" - }, - "thumbnail": { - "thumbnaillHeight": 260, - "thumbnaillWidth": 360 - } -} +} \ No newline at end of file