Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions AdminPanel/client/public/images/favicon_eo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions AdminPanel/client/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="./images/favicon.ico" />
<link rel="icon" href="./images/favicon_eo.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="Document Server Admin Panel" />
<title>ONLYOFFICE Admin</title>
<title>Euro-Office Admin</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
1 change: 1 addition & 0 deletions AdminPanel/client/src/assets/dark-logo_s.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions AdminPanel/client/src/assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions AdminPanel/client/src/components/Menu/Menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {useLocation, useNavigate} from 'react-router-dom';
import {clearConfig} from '../../store/slices/configSlice';
import {logout} from '../../api';
import MenuItem from './MenuItem/MenuItem';
import AppMenuLogo from '../../assets/AppMenuLogo.svg';
import AppMenuLogo from '../../assets/dark-logo_s.svg';
import {menuItems} from '../../config/menuItems';
import styles from './Menu.module.scss';

Expand Down Expand Up @@ -40,7 +40,7 @@ function Menu({isOpen, onClose}) {
<button className={styles['menu__closeButton']} onClick={onClose} aria-label='Close menu' />
<div className={styles['menu__header']}>
<div className={styles['menu__logoContainer']}>
<img src={AppMenuLogo} alt='ONLYOFFICE' className={styles['menu__logo']} />
<img src={AppMenuLogo} alt='Euro-Office' className={styles['menu__logo']} />
</div>
<div className={styles['menu__title']}>DocServer Admin Panel</div>
<div className={styles['menu__separator']}></div>
Expand Down
2 changes: 1 addition & 1 deletion AdminPanel/client/src/pages/Login/LoginPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default function Login() {
return (
<div className={styles.loginContainer}>
<div className={styles.loginCard}>
<h1 className={styles.title}>ONLYOFFICE Admin Panel</h1>
<h1 className={styles.title}>Euro-Office Admin Panel</h1>
<p className={styles.subtitle}>Enter your password to access the admin panel</p>
<div className={styles.descriptionContainer}>
<p className={styles.description}>The session is valid for 60 minutes.</p>
Expand Down
2 changes: 1 addition & 1 deletion AdminPanel/client/src/pages/Setup/SetupPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default function Setup() {
return (
<div className={styles.loginContainer}>
<div className={styles.loginCard}>
<h1 className={styles.title}>ONLYOFFICE Admin Panel</h1>
<h1 className={styles.title}>Euro-Office Admin Panel</h1>
<p className={styles.subtitle}>Initial Setup</p>
<p className={styles.description}>Enter the bootstrap token from server logs and create your admin password.</p>

Expand Down
38 changes: 19 additions & 19 deletions Common/config/production-linux.json
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
{
"log": {
"filePath": "/etc/onlyoffice/documentserver/log4js/production.json"
"filePath": "/etc/euro-office/documentserver/log4js/production.json"
},
"runtimeConfig": {
"filePath": "/var/www/onlyoffice/documentserver/../Data/runtime.json"
"filePath": "/var/www/euro-office/documentserver/../Data/runtime.json"
},
"storage": {
"fs": {
"folderPath": "/var/lib/onlyoffice/documentserver/App_Data/cache/files"
"folderPath": "/var/lib/euro-office/documentserver/App_Data/cache/files"
}
},
"wopi": {
"htmlTemplate": "/var/www/onlyoffice/documentserver/web-apps/apps/api/wopi"
"htmlTemplate": "/var/www/euro-office/documentserver/web-apps/apps/api/wopi"
},
"services": {
"CoAuthoring": {
"server": {
"newFileTemplate": "/var/www/onlyoffice/documentserver/document-templates/new",
"documentFormatsFile": "/var/www/onlyoffice/documentserver/document-formats/onlyoffice-docs-formats.json",
"newFileTemplate": "/var/www/euro-office/documentserver/document-templates/new",
"documentFormatsFile": "/var/www/euro-office/documentserver/document-formats/onlyoffice-docs-formats.json",
"static_content": {
"/fonts": {
"path": "/var/www/onlyoffice/documentserver/fonts",
"path": "/var/www/euro-office/documentserver/fonts",
"options": {"maxAge": "7d"}
},
"/sdkjs": {
"path": "/var/www/onlyoffice/documentserver/sdkjs",
"path": "/var/www/euro-office/documentserver/sdkjs",
"options": {"maxAge": "7d"}
},
"/web-apps": {
"path": "/var/www/onlyoffice/documentserver/web-apps",
"path": "/var/www/euro-office/documentserver/web-apps",
"options": {"maxAge": "7d"}
},
"/welcome": {
"path": "/var/www/onlyoffice/documentserver/server/welcome",
"path": "/var/www/euro-office/documentserver/server/welcome",
"options": {"maxAge": "7d"}
},
"/info": {
"path": "/var/www/onlyoffice/documentserver/server/info",
"path": "/var/www/euro-office/documentserver/server/info",
"options": {
"maxAge": 0,
"cacheControl": "public, no-cache, must-revalidate",
Expand All @@ -45,11 +45,11 @@
}
},
"/sdkjs-plugins": {
"path": "/var/www/onlyoffice/documentserver/sdkjs-plugins",
"path": "/var/www/euro-office/documentserver/sdkjs-plugins",
"options": {"maxAge": "7d"}
},
"/dictionaries": {
"path": "/var/www/onlyoffice/documentserver/dictionaries",
"path": "/var/www/euro-office/documentserver/dictionaries",
"options": {"maxAge": "7d"}
}
}
Expand All @@ -63,22 +63,22 @@
}
},
"license": {
"license_file": "/var/www/onlyoffice/documentserver/../Data/license.lic",
"license_file": "/var/www/euro-office/documentserver/../Data/license.lic",
"warning_limit_percents": 70,
"packageType": 0
},
"FileConverter": {
"converter": {
"fontDir": "/usr/share/fonts",
"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",
"signingKeyStorePath": "/var/www/onlyoffice/documentserver/../Data/signing-keystore.p12"
"presentationThemesDir": "/var/www/euro-office/documentserver/sdkjs/slide/themes",
"x2tPath": "/var/www/euro-office/documentserver/server/FileConverter/bin/x2t",
"docbuilderPath": "/var/www/euro-office/documentserver/server/FileConverter/bin/docbuilder",
"signingKeyStorePath": "/var/www/euro-office/documentserver/../Data/signing-keystore.p12"
}
},
"SpellChecker": {
"server": {
"dictDir": "/var/www/onlyoffice/documentserver/dictionaries"
"dictDir": "/var/www/euro-office/documentserver/dictionaries"
}
}
}
20 changes: 10 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ GRUNT_ENV += PUBLISHER_URL="$(PUBLISHER_URL)"

BRANDING_DIR ?= ./branding

DOCUMENT_ROOT ?= /var/www/onlyoffice/documentserver
DOCUMENT_ROOT ?= /var/www/euro-office/documentserver

ifeq ($(OS),Windows_NT)
PLATFORM := win
Expand Down Expand Up @@ -46,7 +46,7 @@ endif

TARGET := $(PLATFORM)_$(ARCHITECTURE)

OUTPUT = ../build_tools/out/$(TARGET)/onlyoffice/documentserver/server
OUTPUT = ../build_tools/out/$(TARGET)/euro-office/documentserver/server

SPELLCHECKER_DICTIONARIES := $(OUTPUT)/../dictionaries
SPELLCHECKER_DICTIONARY_FILES += ../dictionaries/*_*
Expand Down Expand Up @@ -144,12 +144,12 @@ install:
if ! id -u onlyoffice > /dev/null 2>&1; then useradd -m -d /var/www/onlyoffice -r -U onlyoffice; fi

mkdir -p ${DESTDIR}${DOCUMENT_ROOT}/fonts
mkdir -p ${DESTDIR}/var/log/onlyoffice/documentserver
mkdir -p ${DESTDIR}/var/lib/onlyoffice/documentserver/App_Data
mkdir -p ${DESTDIR}/var/log/euro-office/documentserver
mkdir -p ${DESTDIR}/var/lib/euro-office/documentserver/App_Data

cp -fr -t ${DESTDIR}${DOCUMENT_ROOT} build/* ../web-apps/deploy/*
mkdir -p ${DESTDIR}/etc/onlyoffice/documentserver
mv ${DESTDIR}${DOCUMENT_ROOT}/server/Common/config/* ${DESTDIR}/etc/onlyoffice/documentserver
mkdir -p ${DESTDIR}/etc/euro-office/documentserver
mv ${DESTDIR}${DOCUMENT_ROOT}/server/Common/config/* ${DESTDIR}/etc/euro-office/documentserver

chown onlyoffice:onlyoffice -R ${DESTDIR}/var/www/onlyoffice
chown onlyoffice:onlyoffice -R ${DESTDIR}/var/log/onlyoffice
Expand Down Expand Up @@ -182,7 +182,7 @@ uninstall:
# Unlink installed shared libs
find /lib -type l | while IFS= read -r lnk; do if (readlink "$$lnk" | grep -q '^${DOCUMENT_ROOT}/server/FileConverter/bin/'); then rm "$$lnk"; fi; done

rm -rf /var/www/onlyoffice/documentserver
rm -rf /var/log/onlyoffice/documentserver
rm -rf /var/lib/onlyoffice/documentserver
rm -rf /etc/onlyoffice/documentserver
rm -rf /var/www/euro-office/documentserver
rm -rf /var/log/euro-office/documentserver
rm -rf /var/lib/euro-office/documentserver
rm -rf /etc/euro-office/documentserver
Loading