From bc9938dc364421901bf69dd858dec57c83d5e251 Mon Sep 17 00:00:00 2001 From: Rohit Goyani Date: Tue, 26 Dec 2023 10:36:18 +0530 Subject: [PATCH 01/21] [SC-58] update the Readme file --- Readme.md | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/Readme.md b/Readme.md index 1c936b3db8..1cfbc1dce8 100644 --- a/Readme.md +++ b/Readme.md @@ -1,27 +1,26 @@ [![License](https://img.shields.io/badge/License-GNU%20AGPL%20V3-green.svg?style=flat)](https://www.gnu.org/licenses/agpl-3.0.en.html) -## web-apps +# web-apps The frontend for [ONLYOFFICE Document Server][2] and [ONLYOFFICE Desktop Editors](https://github.com/ONLYOFFICE/DesktopEditors). Builds the program interface and allows the user create, edit, save and export text documents, spreadsheets, and presentations. -## Previous versions - -Until 2019-10-23 the repository was called web-apps-pro. - ## Project information Official website: [https://www.onlyoffice.com/](https://www.onlyoffice.com "https://www.onlyoffice.com") Code repository: [https://github.com/ONLYOFFICE/web-apps](https://github.com/ONLYOFFICE/web-apps "https://github.com/ONLYOFFICE/web-apps") -## User feedback and support +# Onlyoffice + +R&D document: [https://docs.google.com/document/d/1AoNY1s_5eRTxvwHdlS2DcYon70tfvbj24eQNgXkc0Qs/edit#heading=h.l4dgzjogzgry](https://docs.google.com/document/d/1AoNY1s_5eRTxvwHdlS2DcYon70tfvbj24eQNgXkc0Qs/edit#heading=h.l4dgzjogzgry "https://docs.google.com/document/d/1AoNY1s_5eRTxvwHdlS2DcYon70tfvbj24eQNgXkc0Qs/edit#heading=h.l4dgzjogzgry") -If you have any problems with or questions about [ONLYOFFICE Document Server][2], please visit our official forum: [forum.onlyoffice.com][1] or you can ask and answer ONLYOFFICE development questions on [Stack Overflow][3]. +## How to change the source code of the document editor? +For changing source code, need to setup development environment with using powershell (x86) +https://github.com/ONLYOFFICE/build_tools/tree/master/develop - [1]: https://forum.onlyoffice.com - [2]: https://github.com/ONLYOFFICE/DocumentServer - [3]: http://stackoverflow.com/questions/tagged/onlyoffice +Here we will change the web-apps repository for updating editor options. -## License +## How to compile ONLYOFFICE Docs for a local server? +https://helpcenter.onlyoffice.com/installation/docs-community-compile.aspx -web-apps is released under an GNU AGPL v3.0 license. See the LICENSE file for more information. +Require os is 64-bit Ubuntu 16.04 From 68afb50b634748d511a1fb39a020001a8c1c0908 Mon Sep 17 00:00:00 2001 From: Chandani Date: Tue, 16 Jan 2024 18:20:21 +0530 Subject: [PATCH 02/21] [sc-120] Change the UI of the hyperlink setting and call the API into it --- .../main/app/controller/Main.js | 1 + .../main/app/view/HyperlinkSettingsDialog.js | 114 ++++++++++++++---- apps/documenteditor/main/app/view/Links.js | 27 +++++ 3 files changed, 117 insertions(+), 25 deletions(-) diff --git a/apps/documenteditor/main/app/controller/Main.js b/apps/documenteditor/main/app/controller/Main.js index dec84cce44..d59613fa21 100644 --- a/apps/documenteditor/main/app/controller/Main.js +++ b/apps/documenteditor/main/app/controller/Main.js @@ -419,6 +419,7 @@ define([ this.appOptions.user = Common.Utils.fillUserInfo(this.editorConfig.user, this.editorConfig.lang, value ? (value + ' (' + this.appOptions.guestName + ')' ) : this.textAnonymous, Common.localStorage.getItem("guest-id") || ('uid-' + Date.now())); this.appOptions.user.anonymous && Common.localStorage.setItem("guest-id", this.appOptions.user.id); + Common.localStorage.setItem("token", this.editorConfig.token); this.appOptions.isDesktopApp = this.editorConfig.targetApp == 'desktop' || Common.Controllers.Desktop.isActive(); if( Common.Controllers.Desktop.isActive() ) { diff --git a/apps/documenteditor/main/app/view/HyperlinkSettingsDialog.js b/apps/documenteditor/main/app/view/HyperlinkSettingsDialog.js index 30d8283f3e..9d296c6268 100644 --- a/apps/documenteditor/main/app/view/HyperlinkSettingsDialog.js +++ b/apps/documenteditor/main/app/view/HyperlinkSettingsDialog.js @@ -66,28 +66,45 @@ define([ title: this.textTitle }, options || {}); + + this._arrLineRule1 = [ + {displayValue: 'Helllo',defaultValue: 5, value: '1', minValue: 0.03, step: 0.01, defaultUnit: 'cm'}, + {displayValue: 'CK', defaultValue: 1, value: '2', minValue: 0.5, step: 0.01, defaultUnit: ''}, + {displayValue: 'MedQDoc', defaultValue: 5, value: '3', minValue: 0.03, step: 0.01, defaultUnit: 'cm'} + ]; + + this._arrLineRule=JSON.parse(Common.localStorage.getItem('this._arrLineRule')) + + this.template = [ '
', + '
', '', '', '
', + + '', - '