From 1b822d9debd965475c314c4730d1a7a437f73411 Mon Sep 17 00:00:00 2001 From: Denis Spitsyn Date: Wed, 19 Jun 2024 09:42:14 +0300 Subject: [PATCH 1/4] Add changelog --- CHANGELOG.md | 163 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 163 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 149aec605..e27e94fdc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,168 @@ # Change log +## 8.1.0 + +### New features + +#### All Editors + +* Changes in program interface: manageable functional buttons, Replace button + is now on the Home tab, Copy style, Clear style, Select all +* Autoshape shadowing settings +* Added the editors translation into Serbian - Cyrillic (sr-Cyrl-RS, Serbian + (Cyrillic, Serbia)) +* Updated the set of color themes available in editors +* Added internal help in Portuguese (pt-br) +* Added Arabic to all regional settings +* Added a title and a button to close the panel to the Chat panel + +#### Document Editor + +* New button on the top toolbar for changing document editing mode: Editing, + Reviewing, Viewing +* Added tooltips for new or updated functionality (displayed when loading + the editor or when switching to the corresponding tab) +* Implemented the ability to set the format for page numbering +* Added support for the page color +* Updated built-in paragraph styles +* New items in the indents menu for opening the right panel and managing + paragraph indents, the ability to manage paragraph indents via the top toolbar +* Color theme button is now on the Layout tab +* Mail merge button is now on the Collaboration tab +* Line spacing options updated +* Improved work of the algorithm for displaying numbers and punctuation + in Arabic text for the Neutral and Weak classes +* Improved fitting for paragraphs with main RTL direction + +#### Spreadsheet Editor + +* New languages added: ligature support +* Selected cells are highlighted on their respective row/column numbers +* New functions: `GETPIVOTDATA`, `IMPORTRANGE` +* New function category: Custom based on `jsdoc` +* Version history update: edited cells are highlighted +* Users get custom protected range cells viewing rights +* Implemented the ability to copy/move sheets between books in one browser +* Changed the appearance of the sheet list in the embedded viewer in accordance + with the styles of the main spreadsheet editor + +#### Presentation Editor + +* New slide settings on the right panel: show background graphics, reset + background to the theme background, apply settings to all slides +* Added Animation pane +* Added a mode for editing master slides and templates + +#### Forms + +* Forms are now in `PDF` format instead of `DOCXF` +* When adding a fixed form, now it is inserted without wrapping in front + of the text +* The color of the Picture placeholder corresponds to the color of the role + for this form +* The thickness of the frame for required fields is now 2px with any zoom +* Added a button to switch to the editing mode (similar to the button + in the editor header) for forms opened in the View or Fill forms mode +* The presence of this button depends on the integrator's subscription + to the `onRequestEditRights` event and the `permissions.edit` rights + (in case of a viewer) + +#### PDF Editor + +* Added buttons for switching Editing/Viewing (annotations) modes + to the toolbar and the editor header +* Added tooltips for new or updated functionality (displayed when loading + the editor or when switching to the corresponding tab) +* In the Edit mode, it's possible to add various objects (using the Home and + Insert tabs) and configure them using the right panel and context menu +* Added the ability to add, delete or rotate pages using the context menu and + the toolbar +* Added a mini toolbar for adding annotations when selecting text + +#### Security + +* Added the ability to connect to `MySQL` using `SSL`/`TLS` +* Added the ability to generate `wopi.privateKey` when installing +* Fixed the vulnerability in the `fs.folderPath` field which allows accessing + the file system +* Fixed vulnerabilities in the `PtgName::assemble`, `PtgNameX::assemble`, + `PtgParen::assemble`, `PtgRef3d::assemble`, `PtgList::assemble` and + `PtgArea3d::assemble` methods which cause crash when converting `XLS` to `XLSX` +* Fixed the vulnerability in the `CDataStream::ReadEmrTextBase` method which + causes crash when converting `ODP` to `PDF` +* Fixed the vulnerability in the GlobalsSubstream::UpdateDefineNames method + which causes crash when converting `XLS` to `XLSX` +* Fixed the vulnerability in the `WorkBookStream::UpdateXti` method which causes + crash when converting `XLS` to `XLSX` +* Fixed Heap Buffer Overflow when converting `EPUB` to `PDF` +* Fixed the vulnerability in the `CPPTUserInfo::LoadExternal` method which allows + writing a file to a folder with restricted access when converting `PPT` to `PPTX` +* Fixed vulnerabilities which allow reading data from a third-party file when + converting `OOXML` to `ODF` and vice versa +* Fixed Heap Buffer Overflow in the `CSvmFile::Read_META_BMP` method when + converting `ODP` to `PPTX` +* Fixed the vulnerability in the `commandSetPassword` method which allows setting + a password for a document regardless of rights +* Fixed the vulnerability in the /example/editor of the test example which + allows getting server configuration settings + +#### Back-end + +* New config parameter `services.CoAuthoring.server.editorStatStorage` for + changing data storage location for license and statistical data +* New object `persistentStorage` to separate cache file storage, and forgotten + and error file storage + +#### WOPI + +* Files opened using `WOPI`: Save Copy as [added](https://learn.microsoft.com/en-us/microsoft-365/cloud-storage-partner-program/rest/files/putrelativefile#post-wopifilesfile_id) +* When opening `PDFs` in form filling mode using `WOPI`, new discovery action + formsubmit is [active](https://learn.microsoft.com/en-us/microsoft-365/cloud-storage-partner-program/online/discovery#formsubmit) +* [Added](https://api.onlyoffice.com/editors/wopi/hostpage) the `docs_api_config` parameter of the editor opening form + via `WOPI` which passes a part of the config for opening the editor to the Docs API +* Added query param `WOPISrc` for sending requests to one server. Now, + the parameter sent by the integrator is used for `WOPI`; for `Docs API`, `document + key` is written in `WOPISrc` +* 2 `WOPISrc` and `shardkey` names can be used as a sharding key + +#### Mobile + +* Improved mobile view for documents with tables and paragraphs with non-zero + left and/or right indents + +#### Customization + +* Added the `customization`->`features`->`roles` : `true`/`false` (`true` by default) + parameter to the editor config for role configuration functionality for `PDF Forms` +* In the `customization` section of the editor config, added the new parameter: + close with keys `visible`: `true`/`false` (whether to show the button or not) + and `text`: 'Close file' (the tooltip text for a button in the editor header + or the menu item text in mobile editors and the File menu of web editors) +* The `customization.goback.requestClose parameter` is no longer supported +* Value for `customization`->`hideRightMenu` is `true` by default +* Added the parameter which hides the logo in Mobile and Embed: + `customization`->`logo`->`visible`: `true`/`false` (`true` by default), whether to show + the logo or not +* Implemented customization of the logo in the header + (the `customization`->`logo`->`image`/`imageDark` parameter) +* Added a parameter to hide the button for switching editing modes + in the header: `customization`->`layout`->`header`->`editMode`: `true`/`false` + (`true` by default) + +#### Plugins + +* Plugins can make changes to the interface +* Added a plugin method for the document editor to search for and highlight + the next/previous occurrence of a given text `api.prototype.SearchNext = function(oProperties, isForward)` +* In the information for the context menu in plugins, added flags indicating + that we are editing the header/footer, as well as added flags indicating that + the menu is called above the header/footer area (if we are not currently editing it) + +#### Package + +* `NSSW` is replaced with `WinSW` for Windows installation; download and install + necessary prerequisites + ## 8.0.1 ### Fixes From 294317cf648f31f0aacd146390c7eea82b422e1e Mon Sep 17 00:00:00 2001 From: Denis Spitsyn Date: Wed, 19 Jun 2024 09:48:14 +0300 Subject: [PATCH 2/4] Fix markdown --- CHANGELOG.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e27e94fdc..a4abe2d60 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -118,8 +118,10 @@ * Files opened using `WOPI`: Save Copy as [added](https://learn.microsoft.com/en-us/microsoft-365/cloud-storage-partner-program/rest/files/putrelativefile#post-wopifilesfile_id) * When opening `PDFs` in form filling mode using `WOPI`, new discovery action formsubmit is [active](https://learn.microsoft.com/en-us/microsoft-365/cloud-storage-partner-program/online/discovery#formsubmit) -* [Added](https://api.onlyoffice.com/editors/wopi/hostpage) the `docs_api_config` parameter of the editor opening form - via `WOPI` which passes a part of the config for opening the editor to the Docs API +* [Added](https://api.onlyoffice.com/editors/wopi/hostpage) the + `docs_api_config` parameter of the editor opening form + via `WOPI` which passes a part of the config for opening the editor + to the `Docs API` * Added query param `WOPISrc` for sending requests to one server. Now, the parameter sent by the integrator is used for `WOPI`; for `Docs API`, `document key` is written in `WOPISrc` @@ -141,8 +143,8 @@ * The `customization.goback.requestClose parameter` is no longer supported * Value for `customization`->`hideRightMenu` is `true` by default * Added the parameter which hides the logo in Mobile and Embed: - `customization`->`logo`->`visible`: `true`/`false` (`true` by default), whether to show - the logo or not + `customization`->`logo`->`visible`: `true`/`false` (`true` by default), + whether to show the logo or not * Implemented customization of the logo in the header (the `customization`->`logo`->`image`/`imageDark` parameter) * Added a parameter to hide the button for switching editing modes @@ -153,10 +155,12 @@ * Plugins can make changes to the interface * Added a plugin method for the document editor to search for and highlight - the next/previous occurrence of a given text `api.prototype.SearchNext = function(oProperties, isForward)` + the next/previous occurrence of a given text + `api.prototype.SearchNext = function(oProperties, isForward)` * In the information for the context menu in plugins, added flags indicating that we are editing the header/footer, as well as added flags indicating that - the menu is called above the header/footer area (if we are not currently editing it) + the menu is called above the header/footer area (if we are not currently + editing it) #### Package From 578beafcc51a9541922b3b7aa68241c88ac4d23a Mon Sep 17 00:00:00 2001 From: Denis Spitsyn Date: Wed, 19 Jun 2024 10:19:29 +0300 Subject: [PATCH 3/4] Add new words --- .aspell.en.pws | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/.aspell.en.pws b/.aspell.en.pws index ed769fb2b..3f461b6b9 100644 --- a/.aspell.en.pws +++ b/.aspell.en.pws @@ -30,6 +30,7 @@ ApiRange ApiSlide ApiTable ApiWorksheet +api Appearance ApplyChartStyle ApplyTheme @@ -86,6 +87,7 @@ builded callbackUrl CanUpdateTarget CAs +CDataStream CentOS cff ChangeOleObjects @@ -114,6 +116,7 @@ CollaborationEditing ColumnWidth COMBINA CommandService +commandSetPassword commentAuthorOnly compatibilityMode CONCAT @@ -134,12 +137,14 @@ COTH COUNTIF COUNTIFS COVARIANCE +CPPTUserInfo CreatePictureForm crypted CSC CSCH csv CSV +CSvmFile ctrl Ctrl CUBEKPIMEMBER @@ -151,6 +156,7 @@ CUBESETCOUNT CUBEVALUE CVE cyrillic +Cyrl da Danmark Dansk @@ -203,6 +209,7 @@ DVAR eb Ec ECMA +editMode editorType ee endDate @@ -230,17 +237,20 @@ Fn fodp fods fodt +folderPath forced ForcePathStyle ForEach formdata formsdataurl +formsubmit FORMTEXT FORMULATEXT FreezeAt FreezeColumns FreezeRows FreezePanes +fs FTEST fullscreen Galego @@ -281,6 +291,7 @@ GetLocation GetName GetPageCount GetPageOrientation +GETPIVOTDATA GetPosInParent GetRange GetRightMargin @@ -309,6 +320,7 @@ gziped healthcheck healthCheck hideContentControlTrack +hideRightMenu HiDPI HLOOKUP hotkey @@ -323,10 +335,12 @@ icu ie IFNA IIS +imageDark IMCOSH IMCOT IMCSC IMCSCH +IMPORTRANGE IMSEC IMSECH IMSINH @@ -350,6 +364,7 @@ ipfilter IsAutosave IsExitSave ISFORMULA +isForward IsModifiedByUser ISOWEEKNUM isSaveLock @@ -361,6 +376,7 @@ jpeg JPG js JS +jsdoc json jsonwebtocken jwt @@ -381,6 +397,7 @@ LK loadContent loaderLogo loaderName +LoadExternal LoadingScriptError localhost LOGEST @@ -436,6 +453,7 @@ nodehun nodejs NodeJS npm +NSSW nul num Num @@ -465,6 +483,7 @@ onlyoffice ONLYOFFICE OnlySignatures onRequestCompareFile +onRequestEditRights onRequestInsertImage onRequestMailMergeRecipients onRequestOpen @@ -478,6 +497,7 @@ OpenDocument OpenFormat openProtectedFile OpenSource +oProperties optionsCluster oRange oracleExtraOptions @@ -496,9 +516,11 @@ passsword pathurl pdf PDFA +PDFs PDURATION PERCENTRANK PERMUTATIONA +persistentStorage pgPoolExtraOptions PhotoEditor PHP @@ -523,11 +545,20 @@ PptxFormat Preseentation PrintGridlines PrintHeadings +privateKey +PtgArea +PtgList +PtgName +PtgNameX +PtgParen +PtgRef putFile +px QUARTILE rabbitmq RANDARRAY rastr +ReadEmrTextBase ReadFromBinary Realtime rebranding @@ -606,6 +637,8 @@ SetTopMargin setUsers SetVisible SetWatermarkSettings +sharding +shardkey SharedWorker SheetView showReviewChanges @@ -666,6 +699,7 @@ TEXTSPLIT textPoweredBy thai TINV +TLS TOC TOCOL toLocaleString @@ -691,6 +725,7 @@ ungrouping unhandled unix unLockDocument +UpdateDefineNames UpdateXti uri URI @@ -714,11 +749,14 @@ vml wav WEIBULL wget +WinSW WinXp wmf +wopi WOPI WOPISrc WordControl +WorkBookStream WPS WPT WrapText From 54a8ccd217da92cdfe0948fad48534847b661972 Mon Sep 17 00:00:00 2001 From: Denis Spitsyn Date: Wed, 19 Jun 2024 10:22:49 +0300 Subject: [PATCH 4/4] Change the phrase --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a4abe2d60..d75b5bab9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -63,7 +63,7 @@ * The thickness of the frame for required fields is now 2px with any zoom * Added a button to switch to the editing mode (similar to the button in the editor header) for forms opened in the View or Fill forms mode -* The presence of this button depends on the integrator's subscription +* The presence of this button depends on subscription of the integrator to the `onRequestEditRights` event and the `permissions.edit` rights (in case of a viewer)