Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1619 commits
Select commit Hold shift + click to select a range
7d2104f
Merge branch release/v8.0.0 into master
papacarlo Jan 30, 2024
c1553c0
[config] Set pg connector timeouts to limited values; Bump pg version
konovalovsergey Jan 31, 2024
936b5a4
[config] Set dameng, oracle and mssql databases connectors timeouts t…
Feb 1, 2024
ff8dd64
[utils] deepMergeObjecs(), isObject() functions added
Feb 1, 2024
0d5b109
Merge pull request #453 from ONLYOFFICE/fix/databases-timeout
konovalovsergey Feb 1, 2024
b6b1132
Merge remote-tracking branch 'remotes/origin/release/v8.0.0' into dev…
konovalovsergey Feb 5, 2024
e1177ff
Enable static code analysis with codeql (#447)
danilapog Feb 8, 2024
fe3eb83
Disable codeql scanning on `pull_request` event (#455)
danilapog Feb 14, 2024
8318118
[refactoring] Remove unused parameter and deprecated params
konovalovsergey Feb 16, 2024
42a3822
[config] Add externalRequest options to separate requests; for bug 63590
konovalovsergey Feb 15, 2024
6fb2df4
[config] Revert develop params
konovalovsergey Feb 19, 2024
3f18319
[feature] WOPI Save As implementation
Feb 20, 2024
92c16d1
[feature] Fix wopi save as
konovalovsergey Feb 21, 2024
69ff2f3
Merge pull request #457 from ONLYOFFICE/feature/wopi-put-relative-fil…
konovalovsergey Feb 21, 2024
fb7b1c4
[wopi] Fix downloadfile handler for wopi; fix bug 66612
konovalovsergey Feb 26, 2024
edd7948
[tools] Add 3d-party license report scripts
konovalovsergey Feb 27, 2024
03c4aaa
[feature] Add list of 3d party packages
konovalovsergey Feb 27, 2024
8728cb1
Merge pull request #459 from ONLYOFFICE/feature/3d-party-lic-report
konovalovsergey Feb 27, 2024
1aca6fa
[wopi] Add Password param to convert-to request
konovalovsergey Feb 28, 2024
23c7f8c
[wopi] Add "default" action flag for non-editable formats;Fix bug 66714
konovalovsergey Mar 4, 2024
7ba3d15
[wopi] Add "formsubmit" discovery action; For bug 66720
konovalovsergey Mar 4, 2024
41d6ab3
Merge pull request #460 from ONLYOFFICE/fix/wopi-bugs
konovalovsergey Mar 4, 2024
c2a01c7
[config] Add "forceSaveUsingButtonWithoutChanges" param to forceSave …
konovalovsergey Mar 6, 2024
6511a99
[config] Set forceSaveUsingButtonWithoutChanges to false
konovalovsergey Mar 6, 2024
7326335
[bug] Fix downloadFile for wopi; For bug https://bugzilla.onlyoffice.…
konovalovsergey Mar 11, 2024
21f172d
[bug] Init context cache on 'connection' event; Fix bug 66841
konovalovsergey Mar 12, 2024
4490016
[bug] Add 'PasswordToOpen" convert-to param by analogy with "Password"
konovalovsergey Mar 14, 2024
5f785de
Merge pull request #461 from ONLYOFFICE/feature/convert-to
konovalovsergey Mar 14, 2024
97db7a1
Merge branch hotfix/v8.0.1 into develop
papacarlo Mar 15, 2024
0dd2301
Merge branch hotfix/v8.0.1 into release/v8.1.0
papacarlo Mar 15, 2024
3571a69
[license] Replacing openpgp.js library with aes-256-gcm algorithm
Mar 5, 2024
0899dca
[license] Removing openpgp library from shrinkwrap
Mar 13, 2024
05f3bec
[license] Remove openpgp
konovalovsergey Mar 14, 2024
cf9db25
[bug] Fix exception with undefined permissions in config
konovalovsergey Mar 18, 2024
0175e2d
[bugfix] Fix of AES encoding, test added
Mar 19, 2024
3febb1d
Merge pull request #462 from ONLYOFFICE/feature/openpgp-replacement-t…
konovalovsergey Mar 19, 2024
1050bb7
[tenant] Add services.CoAuthoring.server.editorStatStorage config par…
konovalovsergey Mar 20, 2024
023247c
[feature] getTableColumns usage refactor, heathcheck returning false …
Mar 22, 2024
2b9f7fd
[feature] Compability check of changes table added
Mar 22, 2024
f1ba950
[test] Add db table absence test; Remove useless isServerStartedUp
konovalovsergey Mar 24, 2024
736670d
[git actions] Run git action on test modification
konovalovsergey Mar 24, 2024
ce7997c
[test] Test git action trigger
konovalovsergey Mar 24, 2024
6b5533b
Merge pull request #464 from ONLYOFFICE/feature/get-table-columns-usa…
konovalovsergey Mar 25, 2024
f02884b
[bug] Fix bug with opening error after forcesave on forgotten file
konovalovsergey Mar 25, 2024
e6c59a4
[fix] Git actions now ignoring tags
Mar 28, 2024
de74848
Merge pull request #467 from ONLYOFFICE/fix/git-action-ignoring-tags-…
konovalovsergey Mar 31, 2024
a23df36
[config] Add persistentStorage as alternative storage for forgotten f…
konovalovsergey Mar 31, 2024
a09ff06
[feature] Add error CONVERT_LIMITS(-10) for conversion service
konovalovsergey Mar 31, 2024
0d2592f
[bug] Save standard pdf on form submission instead of extended pdf
konovalovsergey Apr 1, 2024
4acdd45
Bump express from 4.18.2 to 4.19.2 in /DocService
dependabot[bot] Mar 29, 2024
45d9832
Bump express from 4.16.4 to 4.19.2 in /SpellChecker
dependabot[bot] Mar 26, 2024
d8d285e
[bug] Refactor wopi discovery for new pdf editor; Fix downloadFile fo…
konovalovsergey Apr 2, 2024
5373d62
[bug] Set interface lang as lcid for file assembling from changes; fo…
konovalovsergey Apr 4, 2024
920ff1f
[feature] Add "pdf" param as pdf save options
konovalovsergey Apr 5, 2024
6463405
[bug] Refactor ErrToReload cleaning; Fix bug 67297
konovalovsergey Apr 6, 2024
515a41c
[bug] Set isPrint flag while form submission
konovalovsergey Apr 13, 2024
11fc888
[bug] Fix RequestDefaults absence in postRequestPromise; Fix bug 67402
konovalovsergey Apr 14, 2024
e07e14f
[feature] Allow "WOPISrc" and "shardkey" query params as shard key
konovalovsergey Apr 17, 2024
f33cc2f
[feature] Remove unused allowPrivateIPAddressForSignedRequests; bug 6…
konovalovsergey Apr 22, 2024
a5a9db4
[config] Rename proxyAuth->proxyUser
konovalovsergey Apr 23, 2024
25f99f8
[bug] Set "formsubmit" as default action; Fix bug 66720
konovalovsergey Apr 24, 2024
1b8e6bb
[copyright] Update Copyright date
konovalovsergey Apr 24, 2024
04021ec
[copyright] Add missing Copyright
konovalovsergey Apr 24, 2024
3b9bed3
[bug] Fix "WOPISrc" convert param in getConverterHtml
konovalovsergey Apr 27, 2024
25d52ca
[bug] Fix error on reconnection in formsubmit action; For bug 66720
konovalovsergey Apr 28, 2024
9ac4993
[bug] Add clearTimeout in downloadUrlPromiseWithoutRedirect; Fix bug …
konovalovsergey May 2, 2024
5c8b553
[bug] Fix sendForm request for wopi; for bug 66720
konovalovsergey May 4, 2024
4007f5a
[refactoring] Refactor publish as async function
konovalovsergey May 6, 2024
05b1572
Bump ejs from 3.1.8 to 3.1.10 in /DocService
dependabot[bot] May 2, 2024
cb18e6a
Bump mysql2 from 2.3.3 to 3.9.7 in /DocService
dependabot[bot] Apr 23, 2024
d8d2caa
[bug] Serve static content for "storage-fs" only; Fix bug 67908
konovalovsergey May 10, 2024
adc44fa
[bug] For bug 67908
konovalovsergey May 10, 2024
8de0139
[bug] Refactor Locks storage; for bug 65773
konovalovsergey May 12, 2024
34cffab
Merge pull request #471 from ONLYOFFICE/feature/bug-65773-2
konovalovsergey May 12, 2024
0d88c74
[bug] For bug 65773
konovalovsergey May 12, 2024
d57a512
[bug] Do not serve content with empty special dir; For bug 67908
konovalovsergey May 13, 2024
3db24b1
[bug] Fix bug 67983
konovalovsergey May 15, 2024
90e68f8
[bug] Fix getFormatFromString with null ext
konovalovsergey May 23, 2024
27e5d64
[bug] Change privateKey format; Make generateProofSign async; For bug…
konovalovsergey May 25, 2024
b32dcf5
[bug] Allow to restrict 'mode' rights; For bug 68198
konovalovsergey May 27, 2024
a94e351
[bug] Check key pattern on websocket connection
konovalovsergey May 29, 2024
37da6b0
[bug] Check permissions in commandSetPassword; Fix bug 68258
konovalovsergey May 29, 2024
3ddf28f
[bug] Fix bug with queue closing before document saving in checkDocum…
konovalovsergey May 29, 2024
a43ee0e
[bug] Change wopi exponent format; For bug 66601
konovalovsergey Jun 2, 2024
5914060
[bug] Use shutdownFlag for WOPI editing
konovalovsergey Jun 2, 2024
8d40162
[fix] Added support of MySql ssl connection
Jun 3, 2024
ee75b4e
Bump mysql2 from 2.3.3 to 3.9.8 in /DocService
konovalovsergey Jun 3, 2024
d779c08
[fix] Make closePool async; Bump nodejs version for mysql test; For b…
konovalovsergey Jun 3, 2024
a918bb1
Merge pull request #473 from ONLYOFFICE/fix/mysql-ssl-connection
konovalovsergey Jun 3, 2024
92682e7
Merge remote-tracking branch 'remotes/origin/release/v8.1.0' into dev…
konovalovsergey Jun 3, 2024
1208c83
[bug] Change privateKey config param; For bug 66601
konovalovsergey Jun 3, 2024
438a9c8
[feature] Mail service
Apr 9, 2024
ef361e9
[feature] Mail service fixes pt.1
Apr 10, 2024
d2895a5
[feature] Mail service fixes pt.2
Apr 12, 2024
44e4d28
[feature] Notification service added
Apr 23, 2024
8608a07
[feature] Add licenseLimit notification; Refactor notificationService
konovalovsergey Apr 25, 2024
ea84d9a
[feature] License expired notification trigger added
May 15, 2024
c104b24
[feature] Add notification.enable, change default values; Fix bugs in…
konovalovsergey May 20, 2024
ab28ff6
[feature] Tests and fixes
May 29, 2024
2ab453d
[feature] License expiration notification changed
May 29, 2024
75e8dc1
[feature] Added mysql timeouts to config
Jun 4, 2024
c16d566
[git actions] Bump nodejs version for git actions
konovalovsergey Jun 4, 2024
6d3d2f9
Merge pull request #475 from ONLYOFFICE/feature/mail-service
konovalovsergey Jun 4, 2024
fd3722a
[bug] Fix bug with wopi checkFileInfo on one shard and websocket on o…
konovalovsergey Jun 4, 2024
9787325
[bug] Fix bug with LastModifiedTime changing after putFile(nextcloud)
konovalovsergey Jun 5, 2024
0b6768c
[bug] Fix bug with LastModifiedTime changing after putFile(nextcloud)
konovalovsergey Jun 5, 2024
1c274ed
[feature] Add docs_api_config input param for wopi; For bug 58764
konovalovsergey Jun 6, 2024
2a2efaf
[bug] Check result of wopi unlock; Fix bug 68424
konovalovsergey Jun 7, 2024
d644a44
[bug] Add stubs for shardkey params until integrators pass these para…
konovalovsergey Jun 10, 2024
96a5d76
[bug] Use deterministic(not random) lockId to fix issues with forgott…
konovalovsergey Jun 10, 2024
bf8ff4d
[bug] Add storage test with tenant; Fix bug 68563
konovalovsergey Jun 11, 2024
004bab7
[bug] Fix bug with opening after editing with the condition wopi Supp…
konovalovsergey Jun 13, 2024
6c82208
[bug] Move copyOrigin logic from x2t; Fix bug 68600
konovalovsergey Jun 13, 2024
8a25935
Merge pull request #476 from ONLYOFFICE/fix/bug-68501
K0R0L Jun 14, 2024
a92237c
[bug] Use outputFormat in id instead of outputType; Fix bug 68653
konovalovsergey Jun 15, 2024
3736719
[bug] Fix crash; For bug 68645
konovalovsergey Jun 15, 2024
87f2847
[bug] Add maxRetries option to fix unexpected ENOTEMPTY during rm
konovalovsergey Jun 16, 2024
d4ac980
Merge pull request #477 from ONLYOFFICE/fix/bugfix
K0R0L Jun 16, 2024
9ecd899
Merge branch release/v8.1.0 into master
papacarlo Jun 19, 2024
7698339
[bug] Set DEFAULT_SHARD_KEY from environment as shardkey in case of i…
konovalovsergey Jun 20, 2024
cae5264
[bug] Distinguish "Form" forcesave cache from others; Fix bug 68720
konovalovsergey Jun 21, 2024
c31c50e
[bug] Enforce request without shardkey to run synchronously in sharde…
konovalovsergey Jun 21, 2024
391cd12
Merge pull request #479 from ONLYOFFICE/fix/pre8.1.1
konovalovsergey Jun 24, 2024
1253c13
[bug] Don't send "updateversion" status to viewer; Fix bug 68706
konovalovsergey Jun 24, 2024
8df5236
Merge branch release/v8.1.0 into develop
papacarlo Jun 26, 2024
61b5e5d
[bug] Add tiff to supported image formats; for bug 45401
konovalovsergey Jun 26, 2024
d3f23b9
[license] Update 3d party licenses
konovalovsergey Jun 27, 2024
045e1e6
[refactoring] Remove unused ds_view
konovalovsergey Jun 27, 2024
c0fdce6
[refactoring] Remove unused in license 'light' and 'plugins' params
konovalovsergey Jul 5, 2024
baa4ff1
[bug] Return origin license on 'license' command; Fix bug 69018
konovalovsergey Jul 5, 2024
14e8ee6
[bug] Fix bug 69092
konovalovsergey Jul 9, 2024
c990926
Merge branch hotfix/v8.1.1 into master
papacarlo Jul 15, 2024
a5a696f
[bug] Remove deprecated query params in web builder; Fix bug 69225
konovalovsergey Jul 15, 2024
9822859
[sql] Remove "CREATE DATABASE" from mysql schema as it is in other sc…
konovalovsergey Jul 16, 2024
43f8301
[feature] DB creation removed from mssql script, user namespace remov…
Jul 17, 2024
8f47603
[feature] Add "documentSha256" to changesHistory.json to check that d…
konovalovsergey Jul 24, 2024
c870823
[feature] Set "documentSha256" in all changes in changesHistory.json
konovalovsergey Jul 25, 2024
6ef1b4d
[bug] Fix bug 69397
konovalovsergey Jul 25, 2024
a117a30
Merge branch 'hotfix/v8.1.1' into release/v8.2.0
konovalovsergey Jul 26, 2024
460ef3d
[feature] Handle mismatch between previous URL and changes; For c8708…
konovalovsergey Jul 26, 2024
c41f068
[bug] Start conversion immediately in "shutdown" mode; Fix bug 69491
konovalovsergey Aug 1, 2024
f878e94
[bug] Fix incorrect modulus format; For bug 66601
konovalovsergey Aug 1, 2024
c4022a0
[feature] Add saveAsPath param to wopi saveCopyAs request
konovalovsergey Aug 6, 2024
767e5b1
[bug] Fix crash while applying changes to pdf
konovalovsergey Aug 6, 2024
a9e4960
[bug] Set saveKey as postfix to fix vulnerability with path traversal…
konovalovsergey Aug 11, 2024
d24621e
Merge branch 'feature/save-copy-as' into release/v8.2.0
konovalovsergey Aug 21, 2024
4a1909b
[se] Fix error while downloadas; For bug 62643
konovalovsergey Aug 22, 2024
b355f08
[feature] Add "internal/connections/edit" handler for container manag…
konovalovsergey Aug 26, 2024
67cd801
[feature] Add alias "command" to "CommandService.ashx"
konovalovsergey Aug 27, 2024
4723a1e
[wopi] Add apiQuery param to api.js
konovalovsergey Aug 26, 2024
98f7310
[log] Extend receiveTask log message
konovalovsergey Aug 28, 2024
bf73573
[bug] Fix missing "update version" dialog; Fix bug 69761
konovalovsergey Aug 29, 2024
09b3ad2
[wopi] Restore wopi lock while reconnection; Fix bug 69746
konovalovsergey Aug 29, 2024
17d7ed0
[se] save back document opened from TemplateSource; For bug 69573
konovalovsergey Sep 1, 2024
2cb1493
[feature] Add 'users' to 'info' command response; For bug 69985
konovalovsergey Sep 2, 2024
5a68653
[feature] Check database row with saving status on "shutdown"
konovalovsergey Sep 3, 2024
5a8b10a
[test] Add getCountWithStatusCase test
konovalovsergey Sep 3, 2024
1b7117f
[bug] Change sqlcmd path for latest mssql docker image
konovalovsergey Sep 3, 2024
bd82ad3
[bug] Redirect command request with "key" in sharded cluster
konovalovsergey Sep 3, 2024
3bc4fdc
[npm] npm audit fix
konovalovsergey Sep 4, 2024
3dd17e6
[bug] Fix delayed opening with "updateVersion" status; Fix bug 69761
konovalovsergey Sep 5, 2024
1103d1b
[bug] Fix for missing originFormat when opening via restore button in…
konovalovsergey Sep 5, 2024
dc1932b
[feature] Add `coauth.session.${sessionType}` metric
konovalovsergey Sep 12, 2024
9c3f9aa
[feature] Filter old rows in getCountWithStatus while "shutdown"
konovalovsergey Sep 12, 2024
43b5885
Merge branch hotfix/v8.1.3 into release/v8.2.0
papacarlo Sep 13, 2024
3e0af37
[bug] Allow to restrict 'mode' rights while token validation; For bug…
konovalovsergey Sep 15, 2024
b17f2f1
[bug] Fix token validation with empty permissions;Fix bug 70216
konovalovsergey Sep 15, 2024
377f92d
[bug] Change error message; for bug 62643
konovalovsergey Sep 17, 2024
acdc9a4
[wopi] Allow edit template ooxml formats
konovalovsergey Sep 18, 2024
bf1456f
[bug] Fix bug 70325
konovalovsergey Sep 23, 2024
c750dbc
[wopi] Set 'edit' as default action for pdf
konovalovsergey Sep 24, 2024
c8b2593
[bug] Use "requestDefaults" options for requests to client-s3; Fix bu…
konovalovsergey Sep 24, 2024
34e5c51
[bug] Fix crash if folder is empty after downloadFileFromStorage
konovalovsergey Sep 25, 2024
b46e0ab
[bug] Decrease repeatInterval by 1% to avoid race condition if timeou…
konovalovsergey Sep 25, 2024
e402843
[npm] npm audit fix
konovalovsergey Sep 26, 2024
c3aa709
[bug] Add try-catch to stat to fix race condition with delete on Wind…
konovalovsergey Sep 30, 2024
eb2077c
[bug] Change license notification message; For bug 70325
konovalovsergey Oct 1, 2024
fcf1195
[bug] Fix 'savefromorigin' with password; Fix bug 70466
konovalovsergey Oct 2, 2024
511ecc1
[bug] Save pdf password; for bug 70466
konovalovsergey Oct 3, 2024
f6322a5
[bug] Add notification rules; For bug 70325
konovalovsergey Oct 4, 2024
03be122
[feature] Rename /coauthoring/command to /command
konovalovsergey Oct 4, 2024
43d30b2
[bug] Add stub for license trial; Fix bug 70676
konovalovsergey Oct 6, 2024
7396821
[bug] Move "enable" flag to every rule; For bug 70325
konovalovsergey Oct 7, 2024
34c0311
[wopi] Fix bug with cleanupCache after forcesave and opening collabor…
konovalovsergey Oct 7, 2024
bd0a7d2
[wopi] Allow any name in convert-to request
konovalovsergey Oct 7, 2024
74a917a
[feature] Add 'coauth.saveAfterEditingSessionClosed' metric
konovalovsergey Oct 8, 2024
a566d59
[bug] Fix 'command' path in proxyCommand
konovalovsergey Oct 9, 2024
2652dd2
[config] Turn off notification by default; Fix bug 70807
konovalovsergey Oct 10, 2024
199e8f9
[bug] Customize notification title; fix bug 70772
konovalovsergey Oct 10, 2024
b2ea17e
[bug] Fix crash in commandSetPassword after fix of 70466; fix bug 70864
konovalovsergey Oct 12, 2024
a70d859
Merge branch release/v8.2.0 into master
papacarlo Oct 17, 2024
33935c8
[bug] Send needpassword for pdf form; For bug 70979
konovalovsergey Oct 16, 2024
0ee3458
[bug] Set cache expiry time for plugins.json request; For bug 71003
konovalovsergey Oct 17, 2024
30293a7
[bug] Fix exception caused by missing param 'services.CoAuthoring.plu…
konovalovsergey Oct 17, 2024
83df05c
[bug] Change win-ca inject mode to experimental; For bug 70962
konovalovsergey Oct 17, 2024
8687e34
[bug] Change disconnection code on server shutdown; For shared cluster
konovalovsergey Oct 23, 2024
cb5b51d
[bug] Refactoring rabbitmq config; For bug 67127
konovalovsergey Nov 7, 2024
d965cb4
[bug] Fix database overload issue due to repeated 'info' command requ…
konovalovsergey Nov 7, 2024
b67bd4f
[bug] Fix tiff image upload; Fix bug 71550
konovalovsergey Nov 8, 2024
8b8dacf
[feature] Allow open vsdx
konovalovsergey Nov 10, 2024
03f49f8
Merge branch hotfix/v8.2.1 into master
papacarlo Nov 12, 2024
d0a6670
[feature] Add "multitenancy" flag as alternative to "alias"
konovalovsergey Nov 12, 2024
c121305
[feature] Drop all users from document if the "users" param in "drop"…
konovalovsergey Nov 12, 2024
570c27d
[bug] For c12130564fd8e86e51df2e18428ec137a9aae7d5
konovalovsergey Nov 12, 2024
fbe5ac3
Fix an error when deleting tables in mysql
VyacheslavSemin Nov 19, 2024
373349c
[bug] Revert metric, deleted after merge 92682e70ffc44402bddb3974503d…
konovalovsergey Nov 19, 2024
a1a4fce
[sql] Delete using specific database name
konovalovsergey Nov 20, 2024
b8f95f3
[wopi] Remove redundant Authorization header;Fix bug 71766
konovalovsergey Nov 20, 2024
6c6913f
[log] Log wholeCycle timeout value
konovalovsergey Nov 21, 2024
af3cf2a
Merge remote-tracking branch 'remotes/origin/hotfix/v8.2.1' into develop
konovalovsergey Nov 22, 2024
6bb847a
[feature] Add vsdx format to wopi discovery
konovalovsergey Nov 22, 2024
2f58a16
[pe] Fix double call of encryptPasswordParams with "savefromorigin" c…
konovalovsergey Nov 27, 2024
83d1c49
[config] Set "150MB" as default for services.CoAuthoring.editor.maxCh…
konovalovsergey Nov 28, 2024
f2bdece
Merge branch hotfix/v8.2.2 into master
papacarlo Nov 28, 2024
3361d99
[wopi] Add apple iwork extensions to discovery
konovalovsergey Nov 28, 2024
29c3de2
[bug] Fix ipfilter for tenants; Fix bug 71896
konovalovsergey Nov 29, 2024
705b017
[wopi] Add wopi_RefreshFile command; Stub for validateAuthToken
konovalovsergey Sep 26, 2024
cde9a94
[feature] Fix wopi_RefreshFile command
konovalovsergey Sep 29, 2024
4304e40
[feature] Add checkAndInvalidateCache to refreshFile
konovalovsergey Sep 30, 2024
5b96913
[bug] Fix crash with undefined firstParticipantNoView
konovalovsergey Oct 1, 2024
b66be80
[refactor] Refactoring in 'auth'
konovalovsergey Oct 2, 2024
b717ca9
[debug] Fix validateAuthToken for refresh token; Change log level of …
konovalovsergey Oct 10, 2024
bc9867b
[feature] Refactor "version history" to use reconnection as in refres…
konovalovsergey Oct 14, 2024
be6d7b1
Merge pull request 'feature/refresh-file' (#10) from feature/refresh-…
konovalovsergey Nov 29, 2024
abe1870
[feature] Rename draw->visio
konovalovsergey Dec 4, 2024
a7db22c
[bug] Fix bug 71491
konovalovsergey Dec 4, 2024
97229af
Merge branch hotfix/v8.2.2 into release/v8.3.0
papacarlo Dec 9, 2024
79e2d5f
[feature] Add "vstx", "vssx", "vsdm", "vstm", "vssm" to wopi discover…
konovalovsergey Dec 11, 2024
95eaea9
[feature] Return NotModified in saveRelativeFromChanges
konovalovsergey Dec 16, 2024
01c353a
[feature] Remove unused handler 'uploadold' (needed for compatibility…
konovalovsergey Dec 22, 2024
47aded4
[bug] Fix bug with sending status=4 after status=2 in case of connect…
konovalovsergey Dec 23, 2024
46c4980
[bug] Parameterize sql query in getTableColumns; Fix bug 72340
konovalovsergey Dec 26, 2024
4a6dd2e
[bug] Set authTagLength param in createCipheriv; Fix bug 72354
konovalovsergey Dec 27, 2024
84b7666
[log] Turn off error log message in addRandomKeyTask(downloadAs)
konovalovsergey Jan 5, 2025
d5e71c9
[bug] Remove guest rabbit credentials; Fix bug 72294
konovalovsergey Jan 10, 2025
c703d75
[bug] Remove smtpServerConfiguration credentials; Fix bug 72297
konovalovsergey Jan 10, 2025
0a765c6
[bug] Remove default wopi secrets; Fix bug 72299
konovalovsergey Jan 10, 2025
d9ee884
Merge pull request 'fix/bugfix5' (#12) from fix/bugfix5 into release/…
konovalovsergey Jan 10, 2025
6a1de8d
[bug] Fix readLicenseTenant for expired timelimited; Fix bug 72425
konovalovsergey Jan 10, 2025
47a7585
Merge pull request '[bug] Fix readLicenseTenant for expired timelimit…
konovalovsergey Jan 12, 2025
94aa8b5
[feature] Rename visio->diagram
konovalovsergey Jan 14, 2025
fb584dd
[wopi] Remove vsdx from OS discovery
konovalovsergey Jan 14, 2025
cd48de6
[bug] For bug 72425
konovalovsergey Jan 29, 2024
b2e21a6
[npm] npm audit fix
konovalovsergey Jan 28, 2025
477bcf0
[bug] Handle CONVERT_CELLLIMITS exit code; Fix bug 72913; Fix bug 71510
konovalovsergey Jan 29, 2025
78b8e68
[bug] Save headingsColor for word editor; For bug 72952
konovalovsergey Jan 30, 2025
2cfc936
[wopi] Remove visio formats
konovalovsergey Jan 31, 2025
8f4fd33
Merge branch release/v8.3.0 into master
papacarlo Feb 5, 2025
3f02d66
fix: s3 full match prefix
IMSupperkaka Feb 24, 2025
c9aeccb
fix strPath
IMSupperkaka Feb 24, 2025
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
49 changes: 49 additions & 0 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: "CodeQL"

on:
push:
branches:
- 'master'
- 'hotfix/**'
- 'release/**'
paths-ignore:
- '**/README.md'
- '**/LICENSE'
- '.github/**'

schedule:
- cron: '0 0 * * 6'

jobs:
analyze:
name: Analyze
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'javascript-typescript' ]

steps:
- name: Checkout repository
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@v3


- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
51 changes: 51 additions & 0 deletions .github/workflows/damengDatabaseTests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Dameng database tests
on:
push:
branches:
- '**'
paths:
- 'tests/integration/databaseTests/**'
- 'DocService/sources/databaseConnectors/baseConnector.js'
- 'DocService/sources/databaseConnectors/damengConnector.js'
jobs:
dameng-tests:
name: Dameng
runs-on: ubuntu-latest

steps:
- name: Run dameng DB docker container
run: docker run --name dameng -p 5236:5236 -e PAGE_SIZE=16 -e LD_LIBRARY_PATH=/opt/dmdbms/bin -e INSTANCE_NAME=dm8_01 -d danilaworker/damengdb:8.1.2

- name: Check out repository code
uses: actions/checkout@v3

- name: Caching dependencies
uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'npm'
cache-dependency-path: |
./npm-shrinkwrap.json
./Common/npm-shrinkwrap.json
./DocService/npm-shrinkwrap.json

- name: Install modules
run: |
npm ci
npm --prefix Common ci
npm --prefix DocService ci

- name: Await database service to finish startup
run: sleep 15

- name: Creating service DB configuration
run: |
echo '{"services": {"CoAuthoring": {"sql": {"type": "dameng", "dbHost": "127.0.0.1", "dbPort": 5236, "dbUser": "SYSDBA", "dbPass": "SYSDBA001"}}}}' >> Common/config/local.json

- name: Creating schema
run: |
docker cp ./schema/dameng/createdb.sql dameng:/
docker exec dameng bash -c "cat /createdb.sql | /opt/dmdbms/bin/disql SYSDBA/SYSDBA001:5236"

- name: Run Jest
run: npm run "integration database tests"
52 changes: 52 additions & 0 deletions .github/workflows/mssqlDatabaseTests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: MSSQL database tests
on:
push:
branches:
- '**'
paths:
- 'tests/integration/databaseTests/**'
- 'DocService/sources/databaseConnectors/baseConnector.js'
- 'DocService/sources/databaseConnectors/mssqlConnector.js'
jobs:
mssql-tests:
name: MSSQL
runs-on: ubuntu-latest

steps:
- name: Run MSSQL DB docker container
run: docker run --name mssql -e "ACCEPT_EULA=Y" -e "MSSQL_SA_PASSWORD=onlYoff1ce" -p 8080:1433 -d mcr.microsoft.com/mssql/server:2022-latest

- name: Check out repository code
uses: actions/checkout@v3

- name: Caching dependencies
uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'npm'
cache-dependency-path: |
./npm-shrinkwrap.json
./Common/npm-shrinkwrap.json
./DocService/npm-shrinkwrap.json

- name: Install modules
run: |
npm ci
npm --prefix Common ci
npm --prefix DocService ci

- name: Creating service DB configuration
run: |
echo '{"services": {"CoAuthoring": {"sql": {"type": "mssql", "dbHost": "localhost", "dbPort": 8080, "dbUser": "sa", "dbPass": "onlYoff1ce"}}}}' >> Common/config/local.json

- name: Await database service to finish startup
run: sleep 5

- name: Creating schema
run: |
docker cp ./schema/mssql/createdb.sql mssql:/
docker exec mssql /opt/mssql-tools18/bin/sqlcmd -C -S localhost -U sa -P onlYoff1ce -Q "CREATE DATABASE onlyoffice;"
docker exec mssql /opt/mssql-tools18/bin/sqlcmd -C -S localhost -U sa -P onlYoff1ce -d onlyoffice -i /createdb.sql

- name: Run Jest
run: npm run "integration database tests"
48 changes: 48 additions & 0 deletions .github/workflows/mysqlDatabaseTests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: MYSQL database tests
on:
push:
branches:
- '**'
paths:
- 'tests/integration/databaseTests/**'
- 'DocService/sources/databaseConnectors/baseConnector.js'
- 'DocService/sources/databaseConnectors/mysqlConnector.js'
jobs:
mysql-tests:
name: MYSQL
runs-on: ubuntu-latest

steps:
- name: Run Mysql DB docker container
run: docker run --name mysql -p 8080:3306 -p 8081:33060 -e MYSQL_HOST=127.0.0.1 -e MYSQL_ROOT_PASSWORD=onlyoffice -e MYSQL_DATABASE=onlyoffice -d mysql:latest

- name: Check out repository code
uses: actions/checkout@v3

- name: Caching dependencies
uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'npm'
cache-dependency-path: |
./npm-shrinkwrap.json
./Common/npm-shrinkwrap.json
./DocService/npm-shrinkwrap.json

- name: Install modules
run: |
npm ci
npm --prefix Common ci
npm --prefix DocService ci

- name: Creating service DB configuration
run: |
echo '{"services": {"CoAuthoring": {"sql": {"type": "mysql", "dbHost": "127.0.0.1", "dbPort": "8080", "dbUser": "root", "dbPass": "onlyoffice"}}}}' >> Common/config/local.json

- name : Creating schema
run: |
docker cp ./schema/mysql/createdb.sql mysql:/
docker exec mysql mysql -h 127.0.0.1 -u root --password=onlyoffice -D onlyoffice -e 'source /createdb.sql'

- name: Run Jest
run: npm run "integration database tests"
51 changes: 51 additions & 0 deletions .github/workflows/oracleDatabaseTests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Oracle database tests
on:
push:
branches:
- '**'
paths:
- 'tests/integration/databaseTests/**'
- 'DocService/sources/databaseConnectors/baseConnector.js'
- 'DocService/sources/databaseConnectors/oracleConnector.js'
jobs:
oracle-tests:
name: Oracle
runs-on: ubuntu-latest

steps:
- name: Run Oracle DB docker container
run: docker run --name oracle -p 8080:1521 -p 8081:5500 -e ORACLE_PASSWORD=admin -e APP_USER=onlyoffice -e APP_USER_PASSWORD=onlyoffice -d gvenzl/oracle-xe:21-slim

- name: Check out repository code
uses: actions/checkout@v3

- name: Caching dependencies
uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'npm'
cache-dependency-path: |
./npm-shrinkwrap.json
./Common/npm-shrinkwrap.json
./DocService/npm-shrinkwrap.json

- name: Install modules
run: |
npm ci
npm --prefix Common ci
npm --prefix DocService ci

- name: Creating service DB configuration
run: |
echo '{"services": {"CoAuthoring": {"sql": {"type": "oracle", "dbHost": "127.0.0.1", "dbPort": "8080", "dbUser": "onlyoffice", "dbPass": "onlyoffice", "dbName": "xepdb1"}}}}' >> Common/config/local.json

- name: Await database service to finish startup
run: sleep 15

- name: Creating schema
run: |
docker cp ./schema/oracle/createdb.sql oracle:/
docker exec oracle sqlplus -s onlyoffice/onlyoffice@//localhost/xepdb1 @/createdb.sql

- name: Run Jest
run: npm run "integration database tests"
48 changes: 48 additions & 0 deletions .github/workflows/postgreDatabaseTests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Postgre database tests
on:
push:
branches:
- '**'
paths:
- 'tests/integration/databaseTests/**'
- 'DocService/sources/databaseConnectors/baseConnector.js'
- 'DocService/sources/databaseConnectors/postgreConnector.js'
jobs:
postgres-tests:
name: Postgres
runs-on: ubuntu-latest

steps:
- name: Run Postgres DB docker container
run: docker run --name postgres -p 5432:5432 -e POSTGRES_PASSWORD=onlyoffice -e POSTGRES_USER=onlyoffice -e POSTGRES_DB=onlyoffice -d postgres:latest

- name: Check out repository code
uses: actions/checkout@v3

- name: Caching dependencies
uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'npm'
cache-dependency-path: |
./npm-shrinkwrap.json
./Common/npm-shrinkwrap.json
./DocService/npm-shrinkwrap.json

- name: Install modules
run: |
npm ci
npm --prefix Common ci
npm --prefix DocService ci

- name: Creating service DB configuration
run: |
echo '{"services": {"CoAuthoring": {"sql": {"dbHost": "127.0.0.1"}}}}' >> Common/config/local.json

- name: Creating schema
run: |
docker cp ./schema/postgresql/createdb.sql postgres:/
docker exec postgres psql -d onlyoffice -U onlyoffice -a -f /createdb.sql

- name: Run Jest
run: npm run "integration database tests"
36 changes: 36 additions & 0 deletions .github/workflows/unitTests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Service unit tests
on:
push:
branches:
- '**'
paths:
- '**.js'
- '!tests/integration/**'
- '!DocService/sources/databaseConnectors/**'
jobs:
unit-tests:
name: Service unit tests
runs-on: ubuntu-latest

steps:
- name: Check out repository code
uses: actions/checkout@v3

- name: Caching dependencies
uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'npm'
cache-dependency-path: |
./npm-shrinkwrap.json
./Common/npm-shrinkwrap.json
./DocService/npm-shrinkwrap.json

- name: Install modules
run: |
npm ci
npm --prefix Common ci
npm --prefix DocService ci

- name: Run Jest
run: npm run "unit tests"
13 changes: 5 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@ Common/config/local.json
license.lic
App_Data/
*/node_modules
FileConverter/bin/*.dll
FileConverter/bin/*.dylib
FileConverter/bin/*.exe
FileConverter/bin/x2t
FileConverter/bin/*.S
FileConverter/bin/font_selection.bin
FileConverter/bin/HtmlFileInternal
FileConverter/bin
DocService/npm-debug.log
build
node_modules
SpellChecker/dictionaries
/Gruntfile.js.out
local-development-*.json
*.pyc
run-develop-local.py
10 changes: 8 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
dist: trusty
language: node_js
node_js:
- "6"
- "4"
- '6'
before_install: npm install -g grunt-cli
script:
- make
matrix:
allow_failures:
- node_js: '6'
Loading