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

Release/v1.1.0 #485

Merged
merged 475 commits into from
Dec 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
475 commits
Select commit Hold shift + click to select a range
9298919
edit pt-PT
Maria-Sukhova Dec 1, 2021
5320d4c
add pt-PT
Maria-Sukhova Dec 1, 2021
7f5bf2f
add tr
Maria-Sukhova Dec 1, 2021
7823b98
update bg
Maria-Sukhova Dec 1, 2021
a17e301
update bg
Maria-Sukhova Dec 1, 2021
aaf9ace
Web: Files: MainButton: Fixed form creating for privacy folder
ilyaoleshko Dec 1, 2021
f185b92
Web: Files: Header: Fixed form creating for privacy folder
ilyaoleshko Dec 1, 2021
49a2dc7
Web: Files: Store: Fixed displaying make form action for privacy folder
ilyaoleshko Dec 1, 2021
50a4add
update el
Maria-Sukhova Dec 1, 2021
e4ee376
update el
Maria-Sukhova Dec 1, 2021
5714000
add el, bg
Maria-Sukhova Dec 1, 2021
870f05f
add el
Maria-Sukhova Dec 1, 2021
0ba91e0
update cs
Maria-Sukhova Dec 1, 2021
00f2e18
edit cs
Maria-Sukhova Dec 1, 2021
e1b0164
update cs
Maria-Sukhova Dec 1, 2021
bc58174
update pl
Maria-Sukhova Dec 1, 2021
9ec247e
update pt-BR
Maria-Sukhova Dec 1, 2021
edff6e2
update pl
Maria-Sukhova Dec 1, 2021
ecac004
edit de
Maria-Sukhova Dec 1, 2021
79e151e
add pt_PT
Maria-Sukhova Dec 2, 2021
1aeff5e
edit pt_PT
Maria-Sukhova Dec 2, 2021
af2f355
edit ru
Maria-Sukhova Dec 2, 2021
066ae39
add az
Maria-Sukhova Dec 2, 2021
c59c6ed
add az
Maria-Sukhova Dec 2, 2021
e75031c
Web: Files: Translations: Changed translations for form actions
ilyaoleshko Dec 2, 2021
bc32238
update lo
Maria-Sukhova Dec 2, 2021
83fad7a
update ja
Maria-Sukhova Dec 2, 2021
a2f26ee
Web: Files: Store: Added encoding for string file id`s
ilyaoleshko Dec 2, 2021
fed3177
Merge branch 'release/v1.1.0' into feature/translate-1.1.0
ilyaoleshko Dec 2, 2021
17c7a3b
Web: Files: Fixed editing form badge. Fixed icon.
ilyaoleshko Dec 2, 2021
8c750d6
edit ro
Maria-Sukhova Dec 2, 2021
6598115
Merge branch 'feature/translate-1.1.0' of https://github.com/ONLYOFFI…
Maria-Sukhova Dec 2, 2021
3183487
update translations
Maria-Sukhova Dec 2, 2021
c010fa4
update lo
Maria-Sukhova Dec 2, 2021
ed4aca1
add pl
Maria-Sukhova Dec 2, 2021
db16f4b
edit ru
Maria-Sukhova Dec 2, 2021
3f114a5
Web: Locales: Changed translation "Make form" to "Save as oform"
ilyaoleshko Dec 2, 2021
857c8f9
Merge branch 'release/v1.1.0' into feature/translate-1.1.0
ilyaoleshko Dec 2, 2021
01b4699
Merge branch 'feature/translate-1.1.0' of github.com:ONLYOFFICE/AppSe…
ilyaoleshko Dec 2, 2021
032c1d9
edit en
Maria-Sukhova Dec 3, 2021
436aee4
Merge branch 'feature/translate-1.1.0' of https://github.com/ONLYOFFI…
Maria-Sukhova Dec 3, 2021
1ef04fd
Web: Tests: Fix formatting
AlexeySafronov Dec 3, 2021
751284e
Added run.translations.tests.bat
AlexeySafronov Dec 3, 2021
d7eb8dd
Merge branch 'feature/translate-1.1.0' of https://github.com/ONLYOFFI…
AlexeySafronov Dec 3, 2021
9a0d8be
Merge pull request #475 from ONLYOFFICE/feature/auth-session
ilyaoleshko Dec 3, 2021
b1417e6
Files: fixed creating file from template in thirdparty
pavelbannov Dec 3, 2021
98a4ad4
Web: Files: Store: Removed file id encoding for creating form from file
ilyaoleshko Dec 3, 2021
bff93c7
moved from fc682b37
pavelbannov Dec 3, 2021
086cc8e
Web: Fixed format of searchParam for files selector
ilyaoleshko Dec 3, 2021
4ac6064
add 'Save as oform'
Maria-Sukhova Dec 6, 2021
af2e95d
edit cs
Maria-Sukhova Dec 6, 2021
8fd682e
edit translations
Maria-Sukhova Dec 6, 2021
3b11d8f
edit translations
Maria-Sukhova Dec 6, 2021
a059fc9
edit translations
Maria-Sukhova Dec 6, 2021
d0a4cee
edit translations
Maria-Sukhova Dec 6, 2021
21fb4fd
Web: Moved debug-info changes to separated repository https://github.…
AlexeySafronov Dec 6, 2021
4fef520
Merge branch 'release/v1.1.0' into feature/translate-1.1.0
AlexeySafronov Dec 6, 2021
1d659a6
add az
Maria-Sukhova Dec 6, 2021
b26efb1
Merge branch 'feature/translate-1.1.0' of https://github.com/ONLYOFFI…
Maria-Sukhova Dec 6, 2021
40c5a0d
add az
Maria-Sukhova Dec 6, 2021
7e538b9
add az
Maria-Sukhova Dec 6, 2021
9126ea3
add uk
Maria-Sukhova Dec 6, 2021
0952d01
add uk
Maria-Sukhova Dec 6, 2021
8378850
add uk
Maria-Sukhova Dec 6, 2021
6ef7c23
add pt_PT
Maria-Sukhova Dec 6, 2021
f8bdd48
add pt_PT
Maria-Sukhova Dec 6, 2021
ee935ec
edit az
Maria-Sukhova Dec 6, 2021
58bdddd
add pt_PT
Maria-Sukhova Dec 6, 2021
7973639
edit vi
Maria-Sukhova Dec 7, 2021
3607a54
edit vi
Maria-Sukhova Dec 7, 2021
4565d32
add vi
Maria-Sukhova Dec 7, 2021
7c703a5
Web: Files: SelectFolderDialog: Removed extra space if there is one f…
TatianaLopaeva Dec 7, 2021
bf7e54b
Web: files: SelectFileDialog: Fixed prop type.
TatianaLopaeva Dec 7, 2021
2d86ede
add ja
Maria-Sukhova Dec 7, 2021
a4d24ae
Fixed Bug 54356 - Client.Files.FormTemplate. Fixed download dialog st…
gopienkonikita Dec 7, 2021
1b0b978
add ja
Maria-Sukhova Dec 7, 2021
40692b3
add zh_CN
Maria-Sukhova Dec 7, 2021
ac4e235
add it
Maria-Sukhova Dec 7, 2021
e6fe4cd
edit az
Maria-Sukhova Dec 7, 2021
83874a0
edit cs
Maria-Sukhova Dec 7, 2021
78e3630
edit ja
Maria-Sukhova Dec 7, 2021
2547262
edit ja Common
Maria-Sukhova Dec 7, 2021
2074c2f
edit ja
Maria-Sukhova Dec 7, 2021
c3c06e1
edit files
Maria-Sukhova Dec 7, 2021
f9cf10a
edit files
Maria-Sukhova Dec 7, 2021
f9c92a6
edit pt_PT
Maria-Sukhova Dec 7, 2021
7688eb2
edit translations
Maria-Sukhova Dec 7, 2021
c44f580
Fix issues of UselessModuleTranslationKeysTest
AlexeySafronov Dec 7, 2021
c5a089b
Merge branch 'feature/translate-1.1.0' of https://github.com/ONLYOFFI…
AlexeySafronov Dec 7, 2021
1c5f856
Web: Files: SelectFileDialog: Fixed styles.
TatianaLopaeva Dec 7, 2021
3586548
Merge branch 'release/v1.1.0' of github.com:ONLYOFFICE/AppServer into…
TatianaLopaeva Dec 7, 2021
9339e2a
edit Article
Maria-Sukhova Dec 7, 2021
8ef57f8
Merge branch 'feature/translate-1.1.0' of https://github.com/ONLYOFFI…
Maria-Sukhova Dec 7, 2021
cc4833f
edit sl
Maria-Sukhova Dec 7, 2021
aba3e85
add sl
Maria-Sukhova Dec 7, 2021
dcdd1a5
add sl
Maria-Sukhova Dec 7, 2021
c95aa3e
add sl
Maria-Sukhova Dec 7, 2021
c86b708
edit zh_CN
Maria-Sukhova Dec 7, 2021
65c6870
edit ro
Maria-Sukhova Dec 7, 2021
06a478a
add translations
Maria-Sukhova Dec 7, 2021
b6a963c
add ko
Maria-Sukhova Dec 7, 2021
f0e1ba5
edit pl
Maria-Sukhova Dec 7, 2021
659bb14
add zh_CN
Maria-Sukhova Dec 7, 2021
20a17fc
rename pt
Maria-Sukhova Dec 7, 2021
bdcb4cd
moved from 51eb3d88
pavelbannov Dec 7, 2021
d12365b
edit pt
Maria-Sukhova Dec 7, 2021
ebbe069
edit tr
Maria-Sukhova Dec 7, 2021
dba7e2a
edit lo
Maria-Sukhova Dec 7, 2021
879548a
add pt_BR
Maria-Sukhova Dec 7, 2021
ed25eff
add ru
Maria-Sukhova Dec 7, 2021
e2899e5
add translations
Maria-Sukhova Dec 7, 2021
d48aa7e
Web: Files: SelectFileDialog: fixed prop types.
TatianaLopaeva Dec 7, 2021
6d96855
Web: Editor: Added list of history and possibility to close history.
TatianaLopaeva Aug 2, 2021
475dd92
Web: Editor: Fixed history information.
TatianaLopaeva Aug 2, 2021
6abb579
edit pt
Maria-Sukhova Dec 8, 2021
ee83056
add translations
Maria-Sukhova Dec 8, 2021
430a775
add translations
Maria-Sukhova Dec 8, 2021
bc95ce2
add translations
Maria-Sukhova Dec 8, 2021
300a45a
add translations
Maria-Sukhova Dec 8, 2021
ddbaee0
add translations
Maria-Sukhova Dec 8, 2021
de3dbc7
add translations
Maria-Sukhova Dec 8, 2021
2187cb5
edit lv
Maria-Sukhova Dec 8, 2021
89adb75
Fix Bug 54383 - Client.Files: ‘Somehing went wrong’ on converting pa…
AlexeySafronov Dec 8, 2021
2766859
Web: Files: fixed upload panel header styles
gopienkonikita Dec 8, 2021
a033553
Merge branch 'release/v1.1.0' of github.com:ONLYOFFICE/AppServer into…
gopienkonikita Dec 8, 2021
eba68c6
Web: Files: Added rename form file after creating from template. Fixe…
ilyaoleshko Dec 8, 2021
614ee07
Merge branch 'release/v1.1.0' of github.com:ONLYOFFICE/AppServer into…
ilyaoleshko Dec 8, 2021
458284c
Web: Files: SelectFileDialog/SelectFolderDialog: Added shift of all f…
TatianaLopaeva Dec 8, 2021
f1bebda
Merge branch 'release/v1.1.0' of github.com:ONLYOFFICE/AppServer into…
TatianaLopaeva Dec 8, 2021
b0dc822
Fixed Bug 54407 - Client.Files.FormTemplate. Added folder filtering e…
TatianaLopaeva Dec 8, 2021
8441a50
add translations
Maria-Sukhova Dec 8, 2021
489ecb1
add translations
Maria-Sukhova Dec 8, 2021
8981014
edit lo
Maria-Sukhova Dec 8, 2021
674732e
Merge branch 'release/v1.1.0' into feature/translate-1.1.0
AlexeySafronov Dec 8, 2021
4009717
edit lo
Maria-Sukhova Dec 8, 2021
225f277
Merge branch 'feature/translate-1.1.0' of https://github.com/ONLYOFFI…
Maria-Sukhova Dec 8, 2021
feb48c0
Files: moved from feature/editor-version-history
pavelbannov Dec 8, 2021
466f469
edit translations
Maria-Sukhova Dec 8, 2021
73527a5
add translations
Maria-Sukhova Dec 8, 2021
317750f
Web: Added api methods.
TatianaLopaeva Sep 8, 2021
e3eb043
Web: Editor: Added new api method for RequestHistory method.
TatianaLopaeva Sep 8, 2021
5fa436e
Web: Editor: Fixed getting information of difference of file.
TatianaLopaeva Sep 22, 2021
c6265a9
Web: Editor: Fixed getting name and id of user for history.
TatianaLopaeva Sep 22, 2021
7fd1452
Web: Editor: Fixed current version of document.
TatianaLopaeva Sep 22, 2021
a6deb7f
Web: Editor: Fixed display of editing date.
TatianaLopaeva Sep 22, 2021
fcb4e43
Web: Editor: Removed side effect - changes of array length.
TatianaLopaeva Sep 22, 2021
a79db0f
Web: Editor: Added version to the history data.
TatianaLopaeva Sep 22, 2021
d5b2b2a
Web: Editor: Added error handler for history data.
TatianaLopaeva Sep 22, 2021
d20f833
Web: Editor: Renaming.
TatianaLopaeva Sep 22, 2021
70cc67b
Web: Editor: Refactoring.
TatianaLopaeva Sep 22, 2021
bc8a7f3
Web: Editor: Removed revisions from versions list.
TatianaLopaeva Sep 22, 2021
30bd96a
Web: Editor: Fixed opening of revisions.
TatianaLopaeva Sep 23, 2021
71aa1eb
Web: Editor: Added restore option.
TatianaLopaeva Sep 23, 2021
944591c
Web: Editor: Added error handler for history function.
TatianaLopaeva Sep 23, 2021
1983d60
Web: Editor: Moved the functionality of converting history and gettin…
TatianaLopaeva Sep 23, 2021
a3c4577
Web: Editor: Refactoring.
TatianaLopaeva Sep 23, 2021
17129ad
Erb: Editor: Renaming.
TatianaLopaeva Sep 23, 2021
3937082
Web: Editor: Fixed object parameters of history data.
TatianaLopaeva Sep 23, 2021
aeb5121
Web: Editor: Fixed displaying info.
TatianaLopaeva Oct 4, 2021
d5a7737
Web: Editor: Added api method for restore document version.
TatianaLopaeva Oct 4, 2021
51b7921
Web: Edit: Added doc property to api methods for history versions.
TatianaLopaeva Oct 4, 2021
3b17a90
Web: Editor: Fixed after cherry picking.
TatianaLopaeva Dec 8, 2021
e771000
Web: Editor: Deleted useless code.
TatianaLopaeva Dec 8, 2021
c419370
Web: Editor: Added a condition for showing the history restore function.
TatianaLopaeva Dec 8, 2021
1b28951
Files: rename master form to form template
LinneyS Dec 8, 2021
3921fa7
Web: Editor: Deleted useless imports.
TatianaLopaeva Dec 8, 2021
41681d0
Server: Files: Configuration: Fixed logo type for filling form mode
ilyaoleshko Dec 9, 2021
86cd5e2
Server: Files: Configuration: Added ImageDark property for editors co…
ilyaoleshko Dec 9, 2021
7c15232
Web: Locales: Changed translation "New master form" to "New form temp…
ilyaoleshko Dec 9, 2021
e8af856
Merge branch 'release/v1.1.0' into feature/translate-1.1.0
ilyaoleshko Dec 9, 2021
372ba52
add translations
Maria-Sukhova Dec 9, 2021
5a8c60e
edit vi
Maria-Sukhova Dec 9, 2021
b362170
esit az
Maria-Sukhova Dec 9, 2021
afe25e3
Fix issues of WrongTranslationVariablesTest
AlexeySafronov Dec 9, 2021
02a57ac
Web: People: Added dropDownMaxHeight
AlexeySafronov Dec 9, 2021
8538b55
Web: Turned on all languages
AlexeySafronov Dec 9, 2021
878df98
Web: Renamed folder zh_CN to zh-CN
AlexeySafronov Dec 9, 2021
66e59f1
Merge branch 'feature/translate-1.1.0' of https://github.com/ONLYOFFI…
AlexeySafronov Dec 9, 2021
2afce47
Web: Common: Removed useless code.
TatianaLopaeva Dec 10, 2021
00ab712
Merge branch 'release/v1.1.0' into feature/editor-history
TatianaLopaeva Dec 10, 2021
c3e440e
Web: Files: Added reset of fields after creating a template from the …
TatianaLopaeva Dec 10, 2021
6e6a12f
Merge branch 'release/v1.1.0' into feature/editor-history
TatianaLopaeva Dec 10, 2021
fce12af
add translations
Maria-Sukhova Dec 10, 2021
805718a
Update kafka version in OneClickInstall
evgeniy-antonyuk Nov 24, 2021
0855ead
Merge pull request #477 from ONLYOFFICE/feature/editor-history
AlexeySafronov Dec 10, 2021
eca872c
Add hardware check in deb and rpm OneClickInstall (#479)
evgeniy-antonyuk Dec 10, 2021
1d2750f
Web: Files: Remove privacy folders from select files/folders dialog.
TatianaLopaeva Dec 10, 2021
055c200
Merge branch 'release/v1.1.0' of github.com:ONLYOFFICE/AppServer into…
TatianaLopaeva Dec 10, 2021
031af71
Tfa: fix
pavelbannov Dec 10, 2021
9269594
Web: DesktopEditors mode: Added more logs
AlexeySafronov Dec 12, 2021
2e684ae
Merge branch 'release/v1.1.0' of https://github.com/ONLYOFFICE/AppSer…
AlexeySafronov Dec 12, 2021
65a7ae3
add translations el
Maria-Sukhova Dec 13, 2021
7bab795
Web: Tests: Added new TranslationsEncodingTest()
AlexeySafronov Dec 13, 2021
62e896e
Merge branch 'feature/translate-1.1.0' of https://github.com/ONLYOFFI…
AlexeySafronov Dec 13, 2021
4eee5b4
add lo
Maria-Sukhova Dec 13, 2021
6680589
Merge branch 'feature/translate-1.1.0' of https://github.com/ONLYOFFI…
Maria-Sukhova Dec 13, 2021
530d1a1
Web: Api: Added property for setEncryptionKeys
ilyaoleshko Dec 13, 2021
39f172b
Merge branch 'release/v1.1.0' of github.com:ONLYOFFICE/AppServer into…
ilyaoleshko Dec 13, 2021
b5eeac9
edit translations
Maria-Sukhova Dec 14, 2021
49f3955
edit translations
Maria-Sukhova Dec 14, 2021
2ecc3b0
Update Home.json
Maria-Sukhova Dec 14, 2021
a424ac8
Update Home.json
Maria-Sukhova Dec 14, 2021
f39e311
Merge branch 'feature/translate-1.1.0' of https://github.com/ONLYOFFI…
Maria-Sukhova Dec 14, 2021
8e97763
edit Home.json
Maria-Sukhova Dec 14, 2021
51103c9
Fix Bug 54525 - Client.Profile: Remove fake context-menu button
AlexeySafronov Dec 15, 2021
daec1f5
Fixed Bug 51806 - Client.Files. Fixed error after clicking on the loc…
gopienkonikita Dec 15, 2021
30860f0
add new keys ro, lo, edit keys az
Maria-Sukhova Dec 15, 2021
0244c3b
Web: Editor: Restored config as param
AlexeySafronov Dec 15, 2021
e09f079
Web: Editor: Fixed checking key`s existing inside config
ilyaoleshko Dec 15, 2021
8e6d87b
Web: Files: HOC: Fixed bug, empty file / folder name field cancels it…
ilyaoleshko Dec 15, 2021
f0f5246
Web: Files: Delete translation key CreateWithEmptyTitle
ilyaoleshko Dec 15, 2021
6d84bd5
Merge branch 'release/v1.1.0' into feature/translate-1.1.0
ilyaoleshko Dec 15, 2021
28bc76b
Web: Files: Delete translation key CreateWithEmptyTitle
ilyaoleshko Dec 15, 2021
780df07
Web: Files: EmptyContainer: Added create form template button at empt…
ilyaoleshko Dec 15, 2021
a62fe00
edit vi
Maria-Sukhova Dec 16, 2021
46386a6
Web: Tests: Added new DublicatesFilesByMD5HashTest() test
AlexeySafronov Dec 16, 2021
7d4a87d
Merge branch 'feature/translate-1.1.0' of https://github.com/ONLYOFFI…
AlexeySafronov Dec 16, 2021
93cbab0
edit lo
Maria-Sukhova Dec 16, 2021
39b30c6
Merge branch 'feature/translate-1.1.0' of https://github.com/ONLYOFFI…
Maria-Sukhova Dec 16, 2021
156fbad
edit translations bg
Maria-Sukhova Dec 16, 2021
656fa2d
edit translations
Maria-Sukhova Dec 17, 2021
ff7b6fc
Web: init e2e tests
TimofeyBoyko Dec 21, 2021
15f412e
Web:Files:Tests: update codecept config
TimofeyBoyko Dec 21, 2021
649e1b4
Web: Tests: Added Md5Hash property
AlexeySafronov Dec 21, 2021
4274e3a
Web: Tests:
AlexeySafronov Dec 21, 2021
33f9485
Web: Tests: Skip some hashes for DublicatesFilesByMD5HashTest
AlexeySafronov Dec 21, 2021
05f5358
Web: Tests: Fix some false alarms on SpellCheckTest
AlexeySafronov Dec 21, 2021
1d49c9d
Web: Client: Fixed spelling errors
AlexeySafronov Dec 21, 2021
b9d7141
Web: rename e2e.test.bat to run.e2e.test.bat and translation.test.bat…
TimofeyBoyko Dec 22, 2021
868332b
Web:Tests: add ability to ignore different cultures
TimofeyBoyko Dec 22, 2021
b63d7d0
Web:Tests: close process when tests done
TimofeyBoyko Dec 22, 2021
4688fcc
Merge branch 'feature/translate-1.1.0' of github.com:ONLYOFFICE/AppSe…
TimofeyBoyko Dec 22, 2021
86e965d
Web: Fix translations
AlexeySafronov Dec 22, 2021
48aa091
Merge branch 'feature/translate-1.1.0' of https://github.com/ONLYOFFI…
AlexeySafronov Dec 22, 2021
a785eb2
Web: Tests: Added spellcheck-excludes.json and opportunity to skip so…
AlexeySafronov Dec 22, 2021
e28744d
Web:Tests: fix culture change before test start
TimofeyBoyko Dec 22, 2021
cd56b02
Merge branch 'feature/translate-1.1.0' of https://github.com/ONLYOFFI…
AlexeySafronov Dec 22, 2021
9e24c18
edit ko
Maria-Sukhova Dec 23, 2021
ab931e4
edit bg, az
Maria-Sukhova Dec 23, 2021
3c26c6c
edit az, vi, uk
Maria-Sukhova Dec 23, 2021
919092e
Merge branch 'feature/translate-1.1.0' of https://github.com/ONLYOFFI…
AlexeySafronov Dec 23, 2021
3302638
Web: Tests: Added new excludes to spellcheck-excludes.json
AlexeySafronov Dec 23, 2021
3bf4121
Web: Settings: Commented old redux actions
AlexeySafronov Dec 23, 2021
c899f4d
Web: People: Fix selectedLanguage == undefined
AlexeySafronov Dec 23, 2021
31f03a4
Config: Restored old languages
AlexeySafronov Dec 23, 2021
440811e
Web: Added convertLanguage for compatibility
AlexeySafronov Dec 23, 2021
57d1d50
Merge branch 'release/v1.1.0' into feature/translate-1.1.0
AlexeySafronov Dec 23, 2021
2ff6a87
Merge pull request #484 from ONLYOFFICE/feature/translate-1.1.0
ilyaoleshko Dec 23, 2021
dc7b267
Web: Files: Store: Fixed bug with displaying "Save as oform" at Favor…
ilyaoleshko Dec 23, 2021
dc3c7b5
Fix Bug 54679 - Client.Profile. Failed to execute 'toDataURL' on 'HTM…
AlexeySafronov Dec 23, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ Logs/
.eslintcache
build/deploy/
/public/debuginfo.md
TestsResults/
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
path = products/ASC.Files/Server/DocStore
url = https://github.com/ONLYOFFICE/document-templates
branch = main/community-server
[submodule "common/Tests/Frontend.Translations.Tests/dictionaries"]
path = common/Tests/Frontend.Translations.Tests/dictionaries
url = https://github.com/ONLYOFFICE/dictionaries
11 changes: 11 additions & 0 deletions build/install/OneClickInstall/install-Debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ while [ "$1" != "" ]; do
fi
;;

-skiphc | --skiphardwarecheck )
if [ "$2" != "" ]; then
SKIP_HARDWARE_CHECK=$2
shift
fi
;;

-? | -h | --help )
echo " Usage $0 [PARAMETER] [[PARAMETER], ...]"
echo " Parameters:"
Expand All @@ -60,6 +67,10 @@ if [ -z "${LOCAL_SCRIPTS}" ]; then
LOCAL_SCRIPTS="false";
fi

if [ -z "${SKIP_HARDWARE_CHECK}" ]; then
SKIP_HARDWARE_CHECK="false";
fi

if [ $(dpkg-query -W -f='${Status}' curl 2>/dev/null | grep -c "ok installed") -eq 0 ]; then
apt-get update;
apt-get install -yq curl;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ if [ "$(ls -A "$PRODUCT_DIR/services/kafka" 2> /dev/null)" == "" ]; then
adduser --quiet --home ${PRODUCT_DIR}/services/kafka --system kafka
fi
cd ${PRODUCT_DIR}/services/kafka
curl https://downloads.apache.org/kafka/2.7.1/kafka_2.13-2.7.1.tgz -O
curl https://downloads.apache.org/kafka/2.7.2/kafka_2.13-2.7.2.tgz -O
tar xzf kafka_*.tgz --strip 1 && rm -rf kafka_*.tgz
chown -R kafka ${PRODUCT_DIR}/services/kafka
cd -
Expand Down
31 changes: 31 additions & 0 deletions build/install/OneClickInstall/install-Debian/tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,37 @@ command_exists () {
type "$1" &> /dev/null;
}

check_hardware () {
DISK_REQUIREMENTS=40960;
MEMORY_REQUIREMENTS=5500;
CORE_REQUIREMENTS=2;

AVAILABLE_DISK_SPACE=$(df -m / | tail -1 | awk '{ print $4 }');

if [ ${AVAILABLE_DISK_SPACE} -lt ${DISK_REQUIREMENTS} ]; then
echo "Minimal requirements are not met: need at least $DISK_REQUIREMENTS MB of free HDD space"
exit 1;
fi

TOTAL_MEMORY=$(free -m | grep -oP '\d+' | head -n 1);

if [ ${TOTAL_MEMORY} -lt ${MEMORY_REQUIREMENTS} ]; then
echo "Minimal requirements are not met: need at least $MEMORY_REQUIREMENTS MB of RAM"
exit 1;
fi

CPU_CORES_NUMBER=$(cat /proc/cpuinfo | grep processor | wc -l);

if [ ${CPU_CORES_NUMBER} -lt ${CORE_REQUIREMENTS} ]; then
echo "The system does not meet the minimal hardware requirements. CPU with at least $CORE_REQUIREMENTS cores is required"
exit 1;
fi
}

if [ "$SKIP_HARDWARE_CHECK" != "true" ]; then
check_hardware
fi

ARCH="$(dpkg --print-architecture)"
if [ "$ARCH" != "amd64" ]; then
echo "ONLYOFFICE ${product^^} doesn't support architecture '$ARCH'"
Expand Down
13 changes: 13 additions & 0 deletions build/install/OneClickInstall/install-RedHat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ while [ "$1" != "" ]; do
fi
;;

-skiphc | --skiphardwarecheck )
if [ "$2" != "" ]; then
SKIP_HARDWARE_CHECK=$2
shift
fi
;;

-? | -h | --help )
echo " Usage $0 [PARAMETER] [[PARAMETER], ...]"
echo " Parameters:"
Expand All @@ -69,6 +76,10 @@ if [ -z "${LOCAL_SCRIPTS}" ]; then
LOCAL_SCRIPTS="false";
fi

if [ -z "${SKIP_HARDWARE_CHECK}" ]; then
SKIP_HARDWARE_CHECK="false";
fi

cat > /etc/yum.repos.d/onlyoffice.repo <<END
[onlyoffice]
name=onlyoffice repo
Expand All @@ -91,11 +102,13 @@ END
DOWNLOAD_URL_PREFIX="https://raw.githubusercontent.com/ONLYOFFICE/${product}/${GIT_BRANCH}/build/install/OneClickInstall/install-RedHat"

if [ "$LOCAL_SCRIPTS" = "true" ]; then
source install-RedHat/tools.sh
source install-RedHat/bootstrap.sh
source install-RedHat/check-ports.sh
source install-RedHat/install-preq.sh
source install-RedHat/install-app.sh
else
source <(curl ${DOWNLOAD_URL_PREFIX}/tools.sh)
source <(curl ${DOWNLOAD_URL_PREFIX}/bootstrap.sh)
source <(curl ${DOWNLOAD_URL_PREFIX}/check-ports.sh)
source <(curl ${DOWNLOAD_URL_PREFIX}/install-preq.sh)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ if [ "$(ls -A "$PRODUCT_DIR/services/kafka" 2> /dev/null)" == "" ]; then
mkdir -p ${PRODUCT_DIR}/services/
getent passwd kafka >/dev/null || useradd -m -d ${PRODUCT_DIR}/services/kafka -s /sbin/nologin -p kafka kafka
cd ${PRODUCT_DIR}/services/kafka
curl https://downloads.apache.org/kafka/2.7.1/kafka_2.13-2.7.1.tgz -O
curl https://downloads.apache.org/kafka/2.7.2/kafka_2.13-2.7.2.tgz -O
tar xzf kafka_*.tgz --strip 1 && rm -rf kafka_*.tgz
chown -R kafka ${PRODUCT_DIR}/services/kafka
cd -
Expand Down
34 changes: 34 additions & 0 deletions build/install/OneClickInstall/install-RedHat/tools.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#!/bin/bash

set -e

check_hardware () {
DISK_REQUIREMENTS=40960;
MEMORY_REQUIREMENTS=5500;
CORE_REQUIREMENTS=2;

AVAILABLE_DISK_SPACE=$(df -m / | tail -1 | awk '{ print $4 }');

if [ ${AVAILABLE_DISK_SPACE} -lt ${DISK_REQUIREMENTS} ]; then
echo "Minimal requirements are not met: need at least $DISK_REQUIREMENTS MB of free HDD space"
exit 1;
fi

TOTAL_MEMORY=$(free -m | grep -oP '\d+' | head -n 1);

if [ ${TOTAL_MEMORY} -lt ${MEMORY_REQUIREMENTS} ]; then
echo "Minimal requirements are not met: need at least $MEMORY_REQUIREMENTS MB of RAM"
exit 1;
fi

CPU_CORES_NUMBER=$(cat /proc/cpuinfo | grep processor | wc -l);

if [ ${CPU_CORES_NUMBER} -lt ${CORE_REQUIREMENTS} ]; then
echo "The system does not meet the minimal hardware requirements. CPU with at least $CORE_REQUIREMENTS cores is required"
exit 1;
fi
}

if [ "$SKIP_HARDWARE_CHECK" != "true" ]; then
check_hardware
fi
71 changes: 71 additions & 0 deletions build/run.e2e.test.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
@echo off

PUSHD %~dp0
call runasadmin.bat "%~dpnx0"

if %errorlevel% == 0 (
PUSHD %~dp0..


echo "mode="


REM call yarn wipe
call yarn install

REM call yarn build
call yarn build:test

REM call yarn wipe
call yarn deploy


REM copy nginx configurations to deploy folder
xcopy config\nginx\onlyoffice.conf build\deploy\nginx\ /E /R /Y
powershell -Command "(gc build\deploy\nginx\onlyoffice.conf) -replace '#', '' | Out-File -encoding ASCII build\deploy\nginx\onlyoffice.conf"

xcopy config\nginx\sites-enabled\* build\deploy\nginx\sites-enabled\ /E /R /Y

REM fix paths
powershell -Command "(gc build\deploy\nginx\sites-enabled\onlyoffice-calendar.conf) -replace 'ROOTPATH', '%~dp0deploy\products\ASC.Calendar\client' -replace '\\', '/' | Out-File -encoding ASCII build\deploy\nginx\sites-enabled\onlyoffice-calendar.conf"
powershell -Command "(gc build\deploy\nginx\sites-enabled\onlyoffice-crm.conf) -replace 'ROOTPATH', '%~dp0deploy\products\ASC.CRM\client' -replace '\\', '/' | Out-File -encoding ASCII build\deploy\nginx\sites-enabled\onlyoffice-crm.conf"
powershell -Command "(gc build\deploy\nginx\sites-enabled\onlyoffice-editor.conf) -replace 'ROOTPATH', '%~dp0deploy\products\ASC.Files\editor' -replace '\\', '/' | Out-File -encoding ASCII build\deploy\nginx\sites-enabled\onlyoffice-editor.conf"
powershell -Command "(gc build\deploy\nginx\sites-enabled\onlyoffice-files.conf) -replace 'ROOTPATH', '%~dp0deploy\products\ASC.Files\client' -replace '\\', '/' | Out-File -encoding ASCII build\deploy\nginx\sites-enabled\onlyoffice-files.conf"
powershell -Command "(gc build\deploy\nginx\sites-enabled\onlyoffice-login.conf) -replace 'ROOTPATH', '%~dp0deploy\studio\login' -replace '\\', '/' | Out-File -encoding ASCII build\deploy\nginx\sites-enabled\onlyoffice-login.conf"
powershell -Command "(gc build\deploy\nginx\sites-enabled\onlyoffice-mail.conf) -replace 'ROOTPATH', '%~dp0deploy\products\ASC.Mail\client' -replace '\\', '/' | Out-File -encoding ASCII build\deploy\nginx\sites-enabled\onlyoffice-mail.conf"
powershell -Command "(gc build\deploy\nginx\sites-enabled\onlyoffice-people.conf) -replace 'ROOTPATH', '%~dp0deploy\products\ASC.People\client' -replace '\\', '/' | Out-File -encoding ASCII build\deploy\nginx\sites-enabled\onlyoffice-people.conf"
powershell -Command "(gc build\deploy\nginx\sites-enabled\onlyoffice-projects.conf) -replace 'ROOTPATH', '%~dp0deploy\products\ASC.Projects\client' -replace '\\', '/' | Out-File -encoding ASCII build\deploy\nginx\sites-enabled\onlyoffice-projects.conf"
powershell -Command "(gc build\deploy\nginx\sites-enabled\onlyoffice-studio.conf) -replace 'ROOTPATH', '%~dp0deploy\studio\client' -replace '\\', '/' | Out-File -encoding ASCII build\deploy\nginx\sites-enabled\onlyoffice-studio.conf"

REM restart nginx
echo service nginx stop
call sc stop nginx > nul

REM sleep 5 seconds
call ping 127.0.0.1 -n 6 > nul

echo service nginx start
call sc start nginx > nul

REM sleep 5 seconds
call ping 127.0.0.1 -n 6 > nul


choice /t 10 /d Y /m "Do you want to start tests in sequential mode?"
if errorlevel 2 call yarn e2e.test
if errorlevel 1 call yarn e2e.test:sequential


if NOT %errorlevel% == 0 (
echo Couldn't restarte Onlyoffice%%~nf service
)

)

echo.

POPD

if "%1"=="nopause" goto start
pause
:start
71 changes: 71 additions & 0 deletions build/run.e2e.translations.tests.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
@echo off

PUSHD %~dp0
call runasadmin.bat "%~dpnx0"

if %errorlevel% == 0 (
PUSHD %~dp0..


echo "mode="


REM call yarn wipe
call yarn install

REM call yarn build
call yarn build:test.translation

REM call yarn wipe
call yarn deploy


REM copy nginx configurations to deploy folder
xcopy config\nginx\onlyoffice.conf build\deploy\nginx\ /E /R /Y
powershell -Command "(gc build\deploy\nginx\onlyoffice.conf) -replace '#', '' | Out-File -encoding ASCII build\deploy\nginx\onlyoffice.conf"

xcopy config\nginx\sites-enabled\* build\deploy\nginx\sites-enabled\ /E /R /Y

REM fix paths
powershell -Command "(gc build\deploy\nginx\sites-enabled\onlyoffice-calendar.conf) -replace 'ROOTPATH', '%~dp0deploy\products\ASC.Calendar\client' -replace '\\', '/' | Out-File -encoding ASCII build\deploy\nginx\sites-enabled\onlyoffice-calendar.conf"
powershell -Command "(gc build\deploy\nginx\sites-enabled\onlyoffice-crm.conf) -replace 'ROOTPATH', '%~dp0deploy\products\ASC.CRM\client' -replace '\\', '/' | Out-File -encoding ASCII build\deploy\nginx\sites-enabled\onlyoffice-crm.conf"
powershell -Command "(gc build\deploy\nginx\sites-enabled\onlyoffice-editor.conf) -replace 'ROOTPATH', '%~dp0deploy\products\ASC.Files\editor' -replace '\\', '/' | Out-File -encoding ASCII build\deploy\nginx\sites-enabled\onlyoffice-editor.conf"
powershell -Command "(gc build\deploy\nginx\sites-enabled\onlyoffice-files.conf) -replace 'ROOTPATH', '%~dp0deploy\products\ASC.Files\client' -replace '\\', '/' | Out-File -encoding ASCII build\deploy\nginx\sites-enabled\onlyoffice-files.conf"
powershell -Command "(gc build\deploy\nginx\sites-enabled\onlyoffice-login.conf) -replace 'ROOTPATH', '%~dp0deploy\studio\login' -replace '\\', '/' | Out-File -encoding ASCII build\deploy\nginx\sites-enabled\onlyoffice-login.conf"
powershell -Command "(gc build\deploy\nginx\sites-enabled\onlyoffice-mail.conf) -replace 'ROOTPATH', '%~dp0deploy\products\ASC.Mail\client' -replace '\\', '/' | Out-File -encoding ASCII build\deploy\nginx\sites-enabled\onlyoffice-mail.conf"
powershell -Command "(gc build\deploy\nginx\sites-enabled\onlyoffice-people.conf) -replace 'ROOTPATH', '%~dp0deploy\products\ASC.People\client' -replace '\\', '/' | Out-File -encoding ASCII build\deploy\nginx\sites-enabled\onlyoffice-people.conf"
powershell -Command "(gc build\deploy\nginx\sites-enabled\onlyoffice-projects.conf) -replace 'ROOTPATH', '%~dp0deploy\products\ASC.Projects\client' -replace '\\', '/' | Out-File -encoding ASCII build\deploy\nginx\sites-enabled\onlyoffice-projects.conf"
powershell -Command "(gc build\deploy\nginx\sites-enabled\onlyoffice-studio.conf) -replace 'ROOTPATH', '%~dp0deploy\studio\client' -replace '\\', '/' | Out-File -encoding ASCII build\deploy\nginx\sites-enabled\onlyoffice-studio.conf"

REM restart nginx
echo service nginx stop
call sc stop nginx > nul

REM sleep 5 seconds
call ping 127.0.0.1 -n 6 > nul

echo service nginx start
call sc start nginx > nul

REM sleep 5 seconds
call ping 127.0.0.1 -n 6 > nul

call yarn e2e.test:translation

exit



if NOT %errorlevel% == 0 (
echo Couldn't restarte Onlyoffice%%~nf service
)

)

echo.

POPD

if "%1"=="nopause" goto start
pause
:start
2 changes: 2 additions & 0 deletions build/run.translations.spellcheck.test.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
PUSHD %~dp0..
dotnet test common\Tests\Frontend.Translations.Tests\Frontend.Translations.Tests.csproj --filter Name~SpellCheckTest -l:html -r TestsResults
2 changes: 2 additions & 0 deletions build/run.translations.tests.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
PUSHD %~dp0..
dotnet test common\Tests\Frontend.Translations.Tests\Frontend.Translations.Tests.csproj --filter "TestCategory=FastRunning" -l:html -r TestsResults
11 changes: 8 additions & 3 deletions common/ASC.Common/Web/MimeMapping.cs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,9 @@ static MimeMapping()
AddMimeMapping(".doc", "application/msword");
AddMimeMapping(".docm", "application/vnd.ms-word.document.macroEnabled.12");
AddMimeMapping(".doct", "application/doct");
AddMimeMapping(".docx", "application/vnd.openxmlformats-officedocument.wordprocessingml.document");
AddMimeMapping(".docx", "application/vnd.openxmlformats-officedocument.wordprocessingml.document");
AddMimeMapping(".docxf", "application/vnd.openxmlformats-officedocument.wordprocessingml.document");
AddMimeMapping(".docxf", "application/vnd.openxmlformats-officedocument.wordprocessingml.document.docxf");
AddMimeMapping(".dot", "application/msword");
AddMimeMapping(".dotm", "application/vnd.ms-word.template.macroEnabled.12");
AddMimeMapping(".dotx", "application/vnd.openxmlformats-officedocument.wordprocessingml.template");
Expand Down Expand Up @@ -429,7 +431,9 @@ static MimeMapping()
AddMimeMapping(".oda", "application/oda");
AddMimeMapping(".odp", "application/vnd.oasis.opendocument.presentation");
AddMimeMapping(".ods", "application/vnd.oasis.opendocument.spreadsheet");
AddMimeMapping(".odt", "application/vnd.oasis.opendocument.text");
AddMimeMapping(".odt", "application/vnd.oasis.opendocument.text");
AddMimeMapping(".oform", "application/vnd.openxmlformats-officedocument.wordprocessingml.document");
AddMimeMapping(".oform", "application/vnd.openxmlformats-officedocument.wordprocessingml.document.oform");
AddMimeMapping(".oga", "audio/ogg");
AddMimeMapping(".ogg", "video/ogg");
AddMimeMapping(".ogg", "audio/ogg");
Expand Down Expand Up @@ -710,7 +714,8 @@ static MimeMapping()
AddMimeMapping(".wml", "text/vnd.wap.wml");
AddMimeMapping(".wmlc", "application/vnd.wap.wmlc");
AddMimeMapping(".wmls", "text/vnd.wap.wmlscript");
AddMimeMapping(".wmlsc", "application/vnd.wap.wmlscriptc");
AddMimeMapping(".wmlsc", "application/vnd.wap.wmlscriptc");
AddMimeMapping(".woff2", "application/font-woff2");
AddMimeMapping(".word", "application/msword");
AddMimeMapping(".wp", "application/wordperfect");
AddMimeMapping(".wp5", "application/wordperfect");
Expand Down
11 changes: 10 additions & 1 deletion common/ASC.Core.Common/Billing/License/License.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,16 @@ public class License

public string Signature { get; set; }

public bool? DiscEncryption { get; set; }
public bool? DiscEncryption { get; set; }

[JsonPropertyName("users_count")]
public int DSUsersCount { get; set; }

[JsonPropertyName("users_expire")]
public int DSUsersExpire { get; set; }

[JsonPropertyName("connections")]
public int DSConnections { get; set; }

public static License Parse(string licenseString)
{
Expand Down
6 changes: 5 additions & 1 deletion common/ASC.Core.Common/Caching/CachedTenantService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,11 @@ public IEnumerable<Tenant> GetTenants(string login, string passwordHash)
public IEnumerable<Tenant> GetTenants(DateTime from, bool active = true)
{
return Service.GetTenants(from, active);
}
}
public IEnumerable<Tenant> GetTenants(List<int> ids)
{
return Service.GetTenants(ids);
}

public Tenant GetTenant(int id)
{
Expand Down
Loading