Skip to content

Commit adc7314

Browse files
committed
Update to v12.0.1
1 parent 9f0d509 commit adc7314

File tree

164 files changed

+1459
-682
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

164 files changed

+1459
-682
lines changed

CHANGELOG.md

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,94 @@
11
# Change log
22

3+
## Version 12.0.1
4+
5+
### General portal changes
6+
7+
* Fixed issue with deep linking.
8+
* Fixed Migration feature.
9+
* Storing indexing status as a list instead of a field for ElasticSearch API.
10+
* Enhanced Backup service.
11+
* Fixed unavailable Feed after data restoring (Bug #58135).
12+
* Fixed invalid ‘Fork me on GitHub’ button link in the Sample (Bug #57588).
13+
* Portal users and guests are no more able to make the API SMTP settings request (Bug #57244).
14+
* Fixed issue with displaying a new company name (after changing White Label settings) in the password change emails and other similar requests (Bug #56435).
15+
* Personal user info is hidden from those who has no access to the People module (Bug #57851).
16+
* A drop-down menu in the calendar added when clicking on a month/year (Bug #54767).
17+
* Displaying an input cursor in the search bar when filtering with a drop-down list of users (Bug #57317).
18+
19+
### Server installations
20+
21+
* Removed storage_root parameter when starting Mail services.
22+
* Fixed dotnet dependency installation.
23+
* Fixed msttcore-fonts installation.
24+
* Upgraded elasticsearch to version 7.16.3 in packages.
25+
* Fixed memory allocation for elasticsearch.
26+
* Fixed issue with config files after updating on Windows (Bug #50992).
27+
* Fixed issue with security configs when making GET requests (Bug #57254).
28+
* Fixed issue with mail services when installing on RedHat 8.6 and Centos 8 (Bug #57624).
29+
30+
### Documents module
31+
32+
* Changed frequency of displaying a hint page when opening a file in Private Room from the web version.
33+
* Updated layout of the files list due to new Favorites icons.
34+
* Restriction to open DOC files for editing on mobile devices (Bug #57373).
35+
* Added new filtering parameters searchInContent and withSubfolders to API methods.
36+
* Changed type of some API methods from GET to PUT/POST (Bug #57371).
37+
* Users and their emails are not displayed in mentions if there isn’t access to the People module (Bug #58037).
38+
39+
### Mail module
40+
41+
* Added ‘On top’ button when zooming in empty folders (Bug #57671).
42+
* Fixed issue with sending an email with a link to a non-editable file in the trial portal version (Bug #54637).
43+
* Fixed DOCXF and OFORM icons when attaching files as a link (Bug #57657).
44+
* Fixed issue with forwarding emails added to the Templates (Bug #57466).
45+
* Fixed issue with filter settings (Bug #57200).
46+
* Fixed issue with selecting emails as read/unread (Bug #57390).
47+
* Fixed issue with the pop-up notification about a disabled account when printing out emails (Bug #57324).
48+
* Fixed issue with re-opening of email signature settings (Bug #57322).
49+
* Fixed issue with using the filter when selecting a date by custom period (Bug #57510).
50+
* Fixed issue with downloading a file when clicking on the .docxf/.oform format link in Chrome (Bug #57651).
51+
52+
### People module
53+
54+
* Fixed Active connections check.
55+
* Fixed issue with generating a CardDav book in case user emails contain capital letters (Bug #57831).
56+
* Updated drop-down tooltip when setting a password (Bug #57673).
57+
* Fixed issue with the https link in the invitation email when importing users (Bug #57519).
58+
59+
### Projects module
60+
61+
* Fixed issue with displaying the Time Tracking entry after its creation (Bug #57901)
62+
* Fixed issue with closing CKEditor window after editing a task title (Bug #57625).
63+
* Restriction of using XSS script in the milestone title (Bug #57559).
64+
* Restriction of using XSS script in the Gantt Chart status (Bug #57256).
65+
* Fixed issue with the incorrect link to the re-opened task in Telegram notifications (Bug #58107).
66+
* Fixed issue with custom task status when re-opening it (Bug #57140).
67+
* Administrator is automatically added to the project team when administrator assigns a task to themselves (Bug #57052).
68+
* Fixed issue with filtering overdue milestones (Bug #57356).
69+
* Fixed issue with filtering tasks when changing the Responsible: Me filter (Bug #57354).
70+
* Fixed displaying of date format in Gantt Chart to match the format set on the portal (Bug #57370).
71+
72+
### CRM module
73+
74+
* Restriction of using XSS script in the Products & Services settings (Bug #57242).
75+
* Fixed issue with the drop-down list in Invoices when page scrolling (Bug #57578).
76+
* Removed ‘Show total amount’ link for deals without a budget (Bug #57386).
77+
78+
### Calendar module
79+
80+
* Updated functionality of attaching files from the Documents module.
81+
* Restriction to access events of other users using the historybyid.json method (Bug #58057).
82+
* Fixed issue with unsubscribing from the event (Bug #58118).
83+
* Restriction of using XSS script in To-do list (Bug #57307).
84+
* Fixed issue with the doubled window in the mini-calendar when selecting a month/year (Bug #57480)
85+
* Fixed issue with the CalDav link when the HTTPS certificate is activated (Bug #53265).
86+
87+
### Control Panel
88+
89+
* Fixed issue with brand logos after updating in the Docker installation (Bug #57331).
90+
* Fixed issue with data import from Google Workspace in case the archive contains incorrect meta-information files (Bug #57617).
91+
392
## Version 12.0.0
493

594
### General portal changes

build/install/deb/Files/nginx/includes/onlyoffice-communityserver-common.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ location / {
1717
internal;
1818
}
1919

20+
location ~ (\.config$) {
21+
error_page 404 /404.htm;
22+
return 404;
23+
}
24+
2025
gzip on;
2126
gzip_comp_level 2;
2227
gzip_min_length 1000;

build/install/deb/debian/onlyofficeMailAggregator.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Type=notify
88
User=onlyoffice
99
Group=onlyoffice
1010
WorkingDirectory=/var/www/onlyoffice/Services/MailAggregator
11-
ExecStart=/usr/share/dotnet/dotnet /var/www/onlyoffice/Services/MailAggregator/ASC.Mail.Aggregator.Service.dll --urls=http://0.0.0.0:5025 --pathToConf=/etc/onlyoffice/communityserver --pathToNlogConf=/etc/onlyoffice/communityserver --'$STORAGE_ROOT'=/var/www/onlyoffice/Data --log:dir=/var/log/onlyoffice/mail --log:name=mail-aggregator --ENVIRONMENT=production
11+
ExecStart=/usr/share/dotnet/dotnet /var/www/onlyoffice/Services/MailAggregator/ASC.Mail.Aggregator.Service.dll --urls=http://0.0.0.0:5025 --pathToConf=/etc/onlyoffice/communityserver --pathToNlogConf=/etc/onlyoffice/communityserver --log:dir=/var/log/onlyoffice/mail --log:name=mail-aggregator --ENVIRONMENT=production
1212
Environment=OPENSSL_CONF=/etc/onlyoffice/communityserver/openssl.cnf
1313
TimeoutSec=600
1414

build/install/deb/debian/onlyofficeMailCleaner.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Type=notify
88
User=onlyoffice
99
Group=onlyoffice
1010
WorkingDirectory=/var/www/onlyoffice/Services/MailCleaner/
11-
ExecStart=/usr/share/dotnet/dotnet /var/www/onlyoffice/Services/MailCleaner/ASC.Mail.StorageCleaner.Service.dll --urls=http://0.0.0.0:5032 --pathToConf=/etc/onlyoffice/communityserver --pathToNlogConf=/etc/onlyoffice/communityserver --'$STORAGE_ROOT'=/var/www/onlyoffice/Data --log:dir=/var/log/onlyoffice/mail --log:name=mail-storagecleaner --ENVIRONMENT=production
11+
ExecStart=/usr/share/dotnet/dotnet /var/www/onlyoffice/Services/MailCleaner/ASC.Mail.StorageCleaner.Service.dll --urls=http://0.0.0.0:5032 --pathToConf=/etc/onlyoffice/communityserver --pathToNlogConf=/etc/onlyoffice/communityserver --log:dir=/var/log/onlyoffice/mail --log:name=mail-storagecleaner --ENVIRONMENT=production
1212
TimeoutSec=600
1313

1414
Restart=no

build/install/deb/debian/onlyofficeMailImap.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Type=notify
88
User=onlyoffice
99
Group=onlyoffice
1010
WorkingDirectory=/var/www/onlyoffice/Services/MailImap/
11-
ExecStart=/usr/share/dotnet/dotnet /var/www/onlyoffice/Services/MailImap/ASC.Mail.ImapSync.dll --urls=http://0.0.0.0:5026 --pathToConf=/etc/onlyoffice/communityserver --pathToNlogConf=/etc/onlyoffice/communityserver --'$STORAGE_ROOT'=/var/www/onlyoffice/Data --log:dir=/var/log/onlyoffice/mail --log:name=mail-imapsync --ENVIRONMENT=production
11+
ExecStart=/usr/share/dotnet/dotnet /var/www/onlyoffice/Services/MailImap/ASC.Mail.ImapSync.dll --urls=http://0.0.0.0:5026 --pathToConf=/etc/onlyoffice/communityserver --pathToNlogConf=/etc/onlyoffice/communityserver --log:dir=/var/log/onlyoffice/mail --log:name=mail-imapsync --ENVIRONMENT=production
1212
Environment=OPENSSL_CONF=/etc/onlyoffice/communityserver/openssl.cnf
1313
TimeoutSec=600
1414

build/install/deb/debian/onlyofficeMailWatchdog.service

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[Unit]
2-
Description=ONLYOFFICE MailImap Service
2+
Description=ONLYOFFICE MailWatchdog Service
33
After=network.target syslog.target mysqld.service
44
Wants=mysqld.service
55

@@ -8,7 +8,7 @@ Type=notify
88
User=onlyoffice
99
Group=onlyoffice
1010
WorkingDirectory=/var/www/onlyoffice/Services/MailWatchdog/
11-
ExecStart=/usr/share/dotnet/dotnet /var/www/onlyoffice/Services/MailWatchdog/ASC.Mail.Watchdog.Service.dll --urls=http://0.0.0.0:5031 --pathToConf=/etc/onlyoffice/communityserver --pathToNlogConf=/etc/onlyoffice/communityserver --'$STORAGE_ROOT'=/var/www/onlyoffice/Data --log:dir=/var/log/onlyoffice/mail --log:name=mail-watchdog --ENVIRONMENT=production
11+
ExecStart=/usr/share/dotnet/dotnet /var/www/onlyoffice/Services/MailWatchdog/ASC.Mail.Watchdog.Service.dll --urls=http://0.0.0.0:5031 --pathToConf=/etc/onlyoffice/communityserver --pathToNlogConf=/etc/onlyoffice/communityserver --log:dir=/var/log/onlyoffice/mail --log:name=mail-watchdog --ENVIRONMENT=production
1212
TimeoutSec=600
1313

1414
Restart=no

build/install/deb/debian/postinst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ apply_connection_string(){
5050
sed "s!\"database\":.*!\"database\":\"${DB_NAME}\"!" -i ${APP_SERVICES_DIR}/ASC.UrlShortener/config/config.json
5151

5252
fi
53-
sed -i "s/Server=.*/Server=$DB_HOST;Port=3306;Database=$DB_NAME;User ID=$DB_USER;Password=$DB_PWD;Pooling=true;Character Set=utf8;AutoEnlist=false;SSL Mode=none;AllowPublicKeyRetrieval=True;ConnectionReset=false\",/g" /etc/onlyoffice/communityserver/appsettings.production.json
53+
sed -i "s/Server=.*/Server=$DB_HOST;Port=3306;Database=$DB_NAME;User ID=$DB_USER;Password=$DB_PWD;Pooling=true;Character Set=utf8;AutoEnlist=false;SSL Mode=none;AllowPublicKeyRetrieval=True;ConnectionReset=false\",/g" /etc/{{package_sysname}}/communityserver/appsettings.production.json
5454
}
5555

5656
apply_core_machinekey(){
@@ -67,7 +67,7 @@ apply_core_machinekey(){
6767

6868
if [ ! -z $CORE_MACHINEKEY ]; then
6969
sed "s!\"core\.machinekey\":.*!\"core\.machinekey\":\"${CORE_MACHINEKEY}\",!" -i ${APP_SERVICES_DIR}/ASC.UrlShortener/config/config.json
70-
sed "s!\"machinekey\":.*!\"machinekey\":\"${CORE_MACHINEKEY}\",!" -i /etc/onlyoffice/communityserver/appsettings.production.json
70+
sed "s!\"machinekey\":.*!\"machinekey\":\"${CORE_MACHINEKEY}\",!" -i /etc/{{package_sysname}}/communityserver/appsettings.production.json
7171
fi
7272
}
7373

@@ -314,6 +314,12 @@ END
314314
sed -i "s/Dlog4j2.formatMsgNoLookups.*/Dlog4j2.formatMsgNoLookups=true/" /etc/elasticsearch/jvm.options
315315
fi
316316

317+
if ! grep -q "ingest.geoip.downloader.enabled" /etc/elasticsearch/elasticsearch.yml; then
318+
echo "ingest.geoip.downloader.enabled: false" >> /etc/elasticsearch/elasticsearch.yml
319+
else
320+
sed -i "s/ingest.geoip.downloader.enabled.*/ingest.geoip.downloader.enabled: false/" /etc/elasticsearch/elasticsearch.yml
321+
fi
322+
317323
TOTAL_MEMORY=$(free -m | grep -oP '\d+' | head -n 1);
318324
MEMORY_REQUIREMENTS=12228; #RAM ~4*3Gb
319325

build/install/rpm/Files/Tools/default-onlyoffice-ssl.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,5 @@ sed 's_\(\"DefaultApiSchema":\).*,_\1 "https",_' -i ${APP_CONFIG_DIR}/mail.produ
5858

5959
mv -f default-onlyoffice-ssl.conf ${NGINX_CONF_DIR}/onlyoffice.conf
6060

61-
service onlyofficeMailAggregator restart
62-
service nginx reload
61+
systemctl restart onlyofficeMailAggregator
62+
systemctl reload nginx

build/install/rpm/Files/Tools/default-onlyoffice.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ sed '/certificate"/s!\(value\s*=\s*\"\).*\"!\1\"!' -i ${APP_SERVICES_ROOT_DIR}/J
1616
sed '/certificatePassword/s/\(value\s*=\s*\"\).*\"/\1\"/' -i ${APP_SERVICES_ROOT_DIR}/Jabber/ASC.Xmpp.Server.Launcher.exe.config
1717
sed '/startTls/s/\(value\s*=\s*\"\).*\"/\1none\"/' -i ${APP_SERVICES_ROOT_DIR}/Jabber/ASC.Xmpp.Server.Launcher.exe.config
1818

19-
service onlyofficeJabber restart
20-
service onlyofficeMailAggregator restart
21-
service nginx reload
19+
systemctl restart onlyofficeJabber
20+
systemctl restart onlyofficeMailAggregator
21+
systemctl reload nginx

build/install/rpm/Files/Tools/letsencrypt-mail.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ cat > ${LETSENCRYPT_ROOT_DIR}/renewal-hooks/deploy/mailserver.sh <<END
1414
cp -f ${LETSENCRYPT_ROOT_DIR}/live/$1/fullchain.pem ${ROOT_DIR}/mail.onlyoffice.crt
1515
cp -f ${LETSENCRYPT_ROOT_DIR}/live/$1/privkey.pem ${ROOT_DIR}/mail.onlyoffice.key
1616
17-
service nginx reload
17+
systemctl reload nginx
1818
1919
END
2020

build/install/rpm/Files/Tools/letsencrypt.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ cp -f ${LETSENCRYPT_ROOT_DIR}/live/$1/fullchain.pem ${ROOT_DIR}/onlyoffice.crt
2828
cp -f ${LETSENCRYPT_ROOT_DIR}/live/$1/privkey.pem ${ROOT_DIR}/onlyoffice.key
2929
cp -f ${LETSENCRYPT_ROOT_DIR}/live/$1/chain.pem ${ROOT_DIR}/stapling.trusted.crt
3030
31-
service nginx reload
31+
systemctl reload nginx
3232
3333
END
3434

build/install/rpm/Files/nginx/includes/onlyoffice-communityserver-common.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ location / {
1717
internal;
1818
}
1919

20+
location ~ (\.(config|rpmsave)$) {
21+
error_page 404 /404.htm;
22+
return 404;
23+
}
24+
2025
gzip on;
2126
gzip_comp_level 2;
2227
gzip_min_length 1000;

build/install/rpm/Files/systemd/onlyofficeMailAggregator.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Type=notify
88
User=onlyoffice
99
Group=onlyoffice
1010
WorkingDirectory=/var/www/onlyoffice/Services/MailAggregator
11-
ExecStart=/usr/share/dotnet/dotnet /var/www/onlyoffice/Services/MailAggregator/ASC.Mail.Aggregator.Service.dll --urls=http://0.0.0.0:5025 --pathToConf=/etc/onlyoffice/communityserver --pathToNlogConf=/etc/onlyoffice/communityserver --'$STORAGE_ROOT'=/var/www/onlyoffice/Data --log:dir=/var/log/onlyoffice/mail --log:name=mail-aggregator --ENVIRONMENT=production
11+
ExecStart=/usr/bin/dotnet /var/www/onlyoffice/Services/MailAggregator/ASC.Mail.Aggregator.Service.dll --urls=http://0.0.0.0:5025 --pathToConf=/etc/onlyoffice/communityserver --pathToNlogConf=/etc/onlyoffice/communityserver --log:dir=/var/log/onlyoffice/mail --log:name=mail-aggregator --ENVIRONMENT=production
1212
TimeoutSec=600
1313

1414
Restart=no

build/install/rpm/Files/systemd/onlyofficeMailCleaner.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Type=notify
88
User=onlyoffice
99
Group=onlyoffice
1010
WorkingDirectory=/var/www/onlyoffice/Services/MailCleaner/
11-
ExecStart=/usr/share/dotnet/dotnet /var/www/onlyoffice/Services/MailCleaner/ASC.Mail.StorageCleaner.Service.dll --urls=http://0.0.0.0:5032 --pathToConf=/etc/onlyoffice/communityserver --pathToNlogConf=/etc/onlyoffice/communityserver --'$STORAGE_ROOT'=/var/www/onlyoffice/Data --log:dir=/var/log/onlyoffice/mail --log:name=mail-storagecleaner --ENVIRONMENT=production
11+
ExecStart=/usr/bin/dotnet /var/www/onlyoffice/Services/MailCleaner/ASC.Mail.StorageCleaner.Service.dll --urls=http://0.0.0.0:5032 --pathToConf=/etc/onlyoffice/communityserver --pathToNlogConf=/etc/onlyoffice/communityserver --log:dir=/var/log/onlyoffice/mail --log:name=mail-storagecleaner --ENVIRONMENT=production
1212
TimeoutSec=600
1313

1414
Restart=no

build/install/rpm/Files/systemd/onlyofficeMailImap.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Type=notify
88
User=onlyoffice
99
Group=onlyoffice
1010
WorkingDirectory=/var/www/onlyoffice/Services/MailImap/
11-
ExecStart=/usr/share/dotnet/dotnet /var/www/onlyoffice/Services/MailImap/ASC.Mail.ImapSync.dll --urls=http://0.0.0.0:5026 --pathToConf=/etc/onlyoffice/communityserver --pathToNlogConf=/etc/onlyoffice/communityserver --'$STORAGE_ROOT'=/var/www/onlyoffice/Data --log:dir=/var/log/onlyoffice/mail --log:name=mail-imapsync --ENVIRONMENT=production
11+
ExecStart=/usr/bin/dotnet /var/www/onlyoffice/Services/MailImap/ASC.Mail.ImapSync.dll --urls=http://0.0.0.0:5026 --pathToConf=/etc/onlyoffice/communityserver --pathToNlogConf=/etc/onlyoffice/communityserver --log:dir=/var/log/onlyoffice/mail --log:name=mail-imapsync --ENVIRONMENT=production
1212
TimeoutSec=600
1313

1414
Restart=no

build/install/rpm/Files/systemd/onlyofficeMailWatchdog.service

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[Unit]
2-
Description=ONLYOFFICE MailImap Service
2+
Description=ONLYOFFICE MailWatchdog Service
33
After=network.target syslog.target mysqld.service
44
Wants=mysqld.service
55

@@ -8,7 +8,7 @@ Type=notify
88
User=onlyoffice
99
Group=onlyoffice
1010
WorkingDirectory=/var/www/onlyoffice/Services/MailWatchdog/
11-
ExecStart=/usr/share/dotnet/dotnet /var/www/onlyoffice/Services/MailWatchdog/ASC.Mail.Watchdog.Service.dll --urls=http://0.0.0.0:5031 --pathToConf=/etc/onlyoffice/communityserver --pathToNlogConf=/etc/onlyoffice/communityserver --'$STORAGE_ROOT'=/var/www/onlyoffice/Data --log:dir=/var/log/onlyoffice/mail --log:name=mail-watchdog --ENVIRONMENT=production
11+
ExecStart=/usr/bin/dotnet /var/www/onlyoffice/Services/MailWatchdog/ASC.Mail.Watchdog.Service.dll --urls=http://0.0.0.0:5031 --pathToConf=/etc/onlyoffice/communityserver --pathToNlogConf=/etc/onlyoffice/communityserver --log:dir=/var/log/onlyoffice/mail --log:name=mail-watchdog --ENVIRONMENT=production
1212
TimeoutSec=600
1313

1414
Restart=no

build/install/rpm/common.spec

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,12 @@ else
397397
sed -i "s/Dlog4j2.formatMsgNoLookups.*/Dlog4j2.formatMsgNoLookups=true/" ${ELASTIC_SEARCH_JAVA_CONF_PATH}
398398
fi
399399

400+
if ! grep -q "ingest.geoip.downloader.enabled" ${ELASTIC_SEARCH_CONF_PATH}; then
401+
echo "ingest.geoip.downloader.enabled: false" >> ${ELASTIC_SEARCH_CONF_PATH}
402+
else
403+
sed -i "s/ingest.geoip.downloader.enabled.*/ingest.geoip.downloader.enabled: false/" ${ELASTIC_SEARCH_CONF_PATH}
404+
fi
405+
400406
TOTAL_MEMORY=$(free -m | grep -oP '\d+' | head -n 1);
401407
MEMORY_REQUIREMENTS=12228; #RAM ~4*3Gb
402408

build/install/rpm/onlyoffice-communityserver.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
%global package_header_tag_url http://onlyoffice.com/
44
%global package_header_tag_vendor Ascensio System SIA
55
%global package_header_tag_packager Ascensio System SIA <support@onlyoffice.com>
6-
%global package_header_tag_requires mono-complete >= 6.8.0, nginx >= 1.9.5, mysql-server >= 5.7.0, wget, mono-webserver-hyperfastcgi, nodejs >= 12.0.0, redis >= 3.0.0, elasticsearch = 7.10.0-1, python3 >= 3.6, ffmpeg, jq
6+
%global package_header_tag_requires mono-complete >= 6.8.0, nginx >= 1.9.5, mysql-server >= 5.7.0, wget, mono-webserver-hyperfastcgi, nodejs >= 12.0.0, redis >= 3.0.0, elasticsearch = 7.16.3-1, python3 >= 3.6, ffmpeg, jq
77
%global package_section_description "Community Server is a free open-source collaborative system developed to manage documents, projects, customer relationship and emails, all in one place."
88
%global package_services god monoserve monoserveApiSystem onlyofficeSocketIO onlyofficeThumb onlyofficeTelegram onlyofficeBackup onlyofficeFeed onlyofficeIndex onlyofficeNotify onlyofficeMailAggregator onlyofficeMailWatchdog onlyofficeMailCleaner onlyofficeMailImap onlyofficeStorageMigrate onlyofficeStorageEncryption onlyofficeUrlShortener onlyofficeWebDav onlyofficeAutoCleanUp onlyofficeRadicale onlyofficeThumbnailBuilder onlyofficeSsoAuth
99

build/sql/onlyoffice.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1380,7 +1380,8 @@ CREATE TABLE IF NOT EXISTS `login_events` (
13801380
`active` int(10) NOT NULL DEFAULT '0',
13811381
PRIMARY KEY (`id`),
13821382
KEY `date` (`date`),
1383-
KEY `tenant_id` (`tenant_id`,`user_id`)
1383+
KEY `tenant_id` (`tenant_id`,`user_id`),
1384+
KEY `active` (`active`)
13841385
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
13851386

13861387
CREATE TABLE IF NOT EXISTS `mail_alerts` (

build/sql/onlyoffice.upgrade963.sql

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ BEGIN
88
IF NOT EXISTS(SELECT * FROM information_schema.`COLUMNS` WHERE `TABLE_SCHEMA` = DATABASE() AND `TABLE_NAME` = 'files_file' AND COLUMN_NAME = 'encrypted') THEN
99
ALTER TABLE `files_file` ADD COLUMN `encrypted` INT(1) NOT NULL DEFAULT '0' AFTER `changes`;
1010
END IF;
11-
12-
INSERT IGNORE INTO core_settings(tenant, id, value) values (-1, 'CompanyWhiteLabelSettings', 0xF547048A4865171587D9CEBC8A496C601D96031F2C1C3E9160353942EE765DACD316F4B5F42892436FC4A21B9A6DF8FFD3BC4036B47E3A5A1B4C881B26609869FEBB6848BD88C02EEAC6A4CCB3E8F404290812F0E6E124A552BE81A58C64BB8BD3C9A8C0EDE1F9421281DE0C7AF82733C0B754E97EFFFA5A75607A91957896CBECF9563FC831300DC8E7C930A55B298EB82D6F69E0ED6E4D8752607F1881F61B032306E0F069A5F69F086A177EB41AC06F889EB0B39CBFD4B5CDB763E996554DEADB9C71CF3EF86F4A0354A864A10639DFD29B5C6D5DCDA9D4B0988EE406948BCB54C6A70ADC6C00577174285CEBCD76);
11+
12+
IF NOT EXISTS(SELECT * FROM core_settings WHERE tenant = -1 AND id = 'CustomMode') THEN
13+
INSERT IGNORE INTO core_settings(tenant, id, value) values (-1, 'CompanyWhiteLabelSettings', 0xF547048A4865171587D9CEBC8A496C601D96031F2C1C3E9160353942EE765DACD316F4B5F42892436FC4A21B9A6DF8FFD3BC4036B47E3A5A1B4C881B26609869FEBB6848BD88C02EEAC6A4CCB3E8F404290812F0E6E124A552BE81A58C64BB8BD3C9A8C0EDE1F9421281DE0C7AF82733C0B754E97EFFFA5A75607A91957896CBECF9563FC831300DC8E7C930A55B298EB82D6F69E0ED6E4D8752607F1881F61B032306E0F069A5F69F086A177EB41AC06F889EB0B39CBFD4B5CDB763E996554DEADB9C71CF3EF86F4A0354A864A10639DFD29B5C6D5DCDA9D4B0988EE406948BCB54C6A70ADC6C00577174285CEBCD76);
14+
END IF;
1315

1416
END DLM00
1517

0 commit comments

Comments
 (0)